Skip to content
Permalink
Browse files

Override builtin item entity the portable way

  • Loading branch information
sfan5 committed Apr 14, 2020
1 parent fb18a5b commit bd64188ee566bc31c1cd50d63f0da3328d42ab51
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit bd64188

Please sign in to comment.
You can’t perform that action at this time.