1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-25 10:10:21 +01:00

if order change

This commit is contained in:
TenPlus1 2017-07-07 20:10:27 +01:00
parent 3965b237f1
commit 27390b2e36

View File

@ -3048,9 +3048,9 @@ function mobs:register_arrow(name, def)
if entity if entity
and self.hit_mob and self.hit_mob
and entity._cmi_is_mob == true
and tostring(player) ~= self.owner_id and tostring(player) ~= self.owner_id
and entity.name ~= self.object:get_luaentity().name and entity.name ~= self.object:get_luaentity().name then
and entity._cmi_is_mob == true then
self.hit_mob(self, player) self.hit_mob(self, player)