From 36e3c44430bd64ed5215da965b59e77e44e8ca32 Mon Sep 17 00:00:00 2001 From: crabman77 Date: Thu, 22 Oct 2015 23:35:43 +0200 Subject: [PATCH] remove useless function and fix place spears on pedestal --- mods/spears/tools.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mods/spears/tools.lua b/mods/spears/tools.lua index d14c6e35..cde05ecc 100755 --- a/mods/spears/tools.lua +++ b/mods/spears/tools.lua @@ -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,