mirror of
https://github.com/minetest-mods/more_chests.git
synced 2025-01-09 00:40:17 +01:00
Protect chests from being overwritten by mapgen (#31)
This commit is contained in:
parent
ad63d3d691
commit
cc52a10811
@ -33,6 +33,7 @@ function generate_chest_def(def)
|
|||||||
choppy=2,
|
choppy=2,
|
||||||
oddly_breakable_by_hand=2
|
oddly_breakable_by_hand=2
|
||||||
},
|
},
|
||||||
|
is_ground_content = false,
|
||||||
sounds = def.sounds or default.node_sound_wood_defaults(),
|
sounds = def.sounds or default.node_sound_wood_defaults(),
|
||||||
after_place_node = function(pos, placer)
|
after_place_node = function(pos, placer)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user