Update init.lua
parent
cba41bbc9c
commit
d856dfcf35
|
@ -36,4 +36,11 @@ end)
|
|||
-- Disable sneak (There's also a configuration in minetest.conf to make sneaking speed identical to normal walking)
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
player:set_physics_override({ sneak = false })
|
||||
end)
|
||||
end)
|
||||
|
||||
-- Make items drop one-by-one instead of whole stack
|
||||
local old_drop = minetest.item_drop
|
||||
minetest.item_drop = function(itemstack, dropper, pos)
|
||||
old_drop(itemstack:take_item(1), dropper, pos)
|
||||
return itemstack
|
||||
end
|
Loading…
Reference in New Issue