mirror of
https://github.com/HybridDog/builtin_item.git
synced 2024-12-22 17:00:27 +01:00
🐈
This commit is contained in:
parent
08935daaf4
commit
72f75d0417
1
init.lua
1
init.lua
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user