1
0
mirror of https://github.com/HybridDog/builtin_item.git synced 2024-12-23 01:10:26 +01:00
This commit is contained in:
HybridDog 2016-02-18 18:45:59 +01:00
parent 08935daaf4
commit 72f75d0417

View File

@ -103,6 +103,7 @@ end
local item_entity = minetest.registered_entities["__builtin:item"] local item_entity = minetest.registered_entities["__builtin:item"]
local old_on_step = item_entity.on_step or function()end local old_on_step = item_entity.on_step or function()end
item_entity.makes_footstep_sound = true
item_entity.on_step = function(self, dtime) item_entity.on_step = function(self, dtime)
old_on_step(self, dtime) old_on_step(self, dtime)