Skip to content
Snippets Groups Projects
Commit fc61c880 authored by PilzAdam's avatar PilzAdam
Browse files

Dont drop tools on rightclick

parent 365c169b
No related branches found
No related tags found
No related merge requests found
......@@ -243,9 +243,8 @@ function minetest.item_place(itemstack, placer, pointed_thing)
if itemstack:get_definition().type == "node" then
return minetest.item_place_node(itemstack, placer, pointed_thing)
elseif itemstack:get_definition().type ~= "none" then
return minetest.item_place_object(itemstack, placer, pointed_thing)
end
return itemstack
end
function minetest.item_drop(itemstack, dropper, pos)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment