Pass dtime and moveresult to item_entity custom step function

This commit is contained in:
cora 2024-12-04 18:38:43 +01:00 committed by ryvnf
parent e9cf3fc284
commit 5ecb12a146

View File

@ -668,7 +668,7 @@ minetest.register_entity(":__builtin:item", {
end
if self._on_entity_step then
self:_on_entity_step()
self:_on_entity_step(dtime, moveresult)
end
-- If no collector was found for a long enough time, declare the magnet as disabled