Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dont drop tools on rightclick
  • Loading branch information
PilzAdam committed Feb 19, 2013
1 parent 365c169 commit fc61c88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions builtin/item.lua
Expand Up @@ -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)
Expand Down

0 comments on commit fc61c88

Please sign in to comment.