1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Removed falling protection inhibiting the engine

- All nodes inhibited now produce logs and are compatible with other mods
This commit is contained in:
LeMagnesium
2015-04-22 18:09:34 +02:00
parent 76eae44363
commit 10428fbcfb
8 changed files with 0 additions and 503 deletions

View File

@ -20,23 +20,6 @@ minetest.register_node("whiteshell:whiteshell", {
}
},
sounds = default.node_sound_sand_defaults(),
on_place = function(itemstack, placer, pointed_thing)
if not pointed_thing.type == "node" then
return itemstack
end
local pn = placer:get_player_name()
if minetest.is_protected(pointed_thing.above, pn) then
return itemstack
end
minetest.add_node(pointed_thing.above, {name=itemstack:get_name()})
local meta = minetest.get_meta(pointed_thing.above)
meta:set_string("owner", pn)
nodeupdate(pointed_thing.above)
if not minetest.setting_getbool("creative_mode") then
itemstack:take_item()
end
return itemstack
end
})
-- WHITESHELL GENERATION