diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-07-07 20:10:27 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-07-07 20:10:27 +0100 |
commit | 27390b2e36ed5427d1546ae3487adcafa660f5d5 (patch) | |
tree | 1646e41e333b27cacb59d6ed4121e283cef02987 | |
parent | 3965b237f156c5aefa5f40fc8080dd72fe65119f (diff) |
if order change
-rw-r--r-- | api.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3048,9 +3048,9 @@ function mobs:register_arrow(name, def) if entity and self.hit_mob + and entity._cmi_is_mob == true and tostring(player) ~= self.owner_id - and entity.name ~= self.object:get_luaentity().name - and entity._cmi_is_mob == true then + and entity.name ~= self.object:get_luaentity().name then self.hit_mob(self, player) |