From bd64188ee566bc31c1cd50d63f0da3328d42ab51 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 14 Apr 2020 13:30:59 +0200 Subject: [PATCH] Override builtin item entity the portable way --- 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 85454365..8da3ee68 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 -- 2.25.1