From: sfan5 Date: Tue, 14 Apr 2020 11:30:59 +0000 (+0200) Subject: Override builtin item entity the portable way X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bd64188ee566bc31c1cd50d63f0da3328d42ab51;p=oweals%2Fminetest_game.git Override builtin item entity the portable way --- 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