disable check for physical entities

This commit is contained in:
Juraj Vajda 2024-02-26 22:50:15 -05:00
parent dadca4d319
commit e57d6352c0

View File

@ -1152,7 +1152,7 @@ function XBowsEntityDef.on_step(self, selfObj, dtime)
)
or (
pointed_thing.ref:get_luaentity()
and pointed_thing.ref:get_luaentity().physical
-- and pointed_thing.ref:get_luaentity().physical
and pointed_thing.ref:get_luaentity().name ~= '__builtin:item'
)
)