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:
parent
56422e2607
commit
36e3c44430
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user