mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-25 18:20:20 +01:00
if order change
This commit is contained in:
parent
3965b237f1
commit
27390b2e36
4
api.lua
4
api.lua
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user