Override builtin item entity the portable way
authorsfan5 <sfan5@live.de>
Tue, 14 Apr 2020 11:30:59 +0000 (13:30 +0200)
committersfan5 <sfan5@live.de>
Tue, 14 Apr 2020 11:31:25 +0000 (13:31 +0200)
mods/default/item_entity.lua

index 85454365d60195713117a6b19968d5f2a2b26981..8da3ee686dd7015a5da78e30cd149a2043a2e356 100644 (file)
@@ -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