summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-06-11 09:27:26 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-06-11 09:27:26 +0100
commit6f259cb047dc55903a0282cf5847a4c98d78f2aa (patch)
tree38bb43ef2edca6c26b470ba90a5c1bfafd5e24c9
parent61f7a06261f4a134eb4595265270aee66c637c4d (diff)
mobs will not attack player in creative mode unless hit 1st
-rw-r--r--api.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/api.lua b/api.lua
index 489ff8d..4f384c5 100644
--- a/api.lua
+++ b/api.lua
@@ -1,9 +1,9 @@
--- Mobs Api (10th June 2017)
+-- Mobs Api (11th June 2017)
mobs = {}
mobs.mod = "redo"
-mobs.version = "20170610"
+mobs.version = "20170611"
-- Intllib
@@ -1135,6 +1135,7 @@ local monster_attack = function(self)
if self.type ~= "monster"
or not damage_enabled
+ or creative
or self.state == "attack"
or day_docile(self) then
return