Skip to content

Commit

Permalink
Override builtin item entity the portable way
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Apr 14, 2020
1 parent fb18a5b commit bd64188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/default/item_entity.lua
Expand Up @@ -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
Expand Down

0 comments on commit bd64188

Please sign in to comment.