From 67010cc154fc8f091decd5dedb63a437f7778702 Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Wed, 17 Apr 2024 22:16:52 -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 c34e60e..c37c58f 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