diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-06-11 09:27:26 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-06-11 09:27:26 +0100 |
commit | 6f259cb047dc55903a0282cf5847a4c98d78f2aa (patch) | |
tree | 38bb43ef2edca6c26b470ba90a5c1bfafd5e24c9 | |
parent | 61f7a06261f4a134eb4595265270aee66c637c4d (diff) |
mobs will not attack player in creative mode unless hit 1st
-rw-r--r-- | api.lua | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |