1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-05 10:00:26 +01:00

remove useless function and fix place spears on pedestal

This commit is contained in:
crabman77 2015-10-22 23:35:43 +02:00
parent 56422e2607
commit 36e3c44430

View File

@ -12,13 +12,6 @@ function spears_register_spear(kind, desc, eq, toughness, craft)
end
return itemstack
end,
on_place = function(itemstack, user, pointed_thing)
minetest.add_item(pointed_thing.above, itemstack)
if not minetest.setting_getbool("creative_mode") then
itemstack:take_item()
end
return itemstack
end,
tool_capabilities = {
full_punch_interval = 1.5,
max_drop_level=1,