projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb18a5b
)
Override builtin item entity the portable way
author
sfan5
<sfan5@live.de>
Tue, 14 Apr 2020 11:30:59 +0000
(13:30 +0200)
committer
sfan5
<sfan5@live.de>
Tue, 14 Apr 2020 11:31:25 +0000
(13:31 +0200)
mods/default/item_entity.lua
patch
|
blob
|
history
diff --git
a/mods/default/item_entity.lua
b/mods/default/item_entity.lua
index 85454365d60195713117a6b19968d5f2a2b26981..8da3ee686dd7015a5da78e30cd149a2043a2e356 100644
(file)
--- 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