From 7f796449eef69651403eb1db896dcc32ba9ff65f Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Wed, 17 Apr 2024 22:22:09 -0400 Subject: [PATCH] mods - default - backported Override builtin item entity the portable way * closes https://codeberg.org/minenux/minetest-game-minetest/issues/16 --- mods/default/item_entity.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/default/item_entity.lua b/mods/default/item_entity.lua index 8ed8835..5601d85 100644 --- a/mods/default/item_entity.lua +++ b/mods/default/item_entity.lua @@ -39,8 +39,8 @@ local item = { }) end, - on_step = function(self, dtime) - builtin_item.on_step(self, dtime) + on_step = function(self, dtime, ...) + builtin_item.on_step(self, dtime, ...) if self.flammable then -- flammable, check for igniters