remove unwanted code

master
HybridDog 2016-02-12 20:44:27 +01:00 committed by Hybrid Dog
parent 922895c761
commit 338d8cc871
2 changed files with 1 additions and 4 deletions

View File

@ -61,7 +61,7 @@ minetest.register_tool("replacer:replacer", {
inventory_image = "replacer_replacer.png",
stack_max = 1, -- it has to store information - thus only one can be stacked
liquids_pointable = true, -- it is ok to painit in/with water
--~ node_placement_prediction = nil,
--node_placement_prediction = nil,
metadata = "default:dirt", -- default replacement: common dirt
on_place = function(itemstack, placer, pointed_thing)

View File

@ -25,15 +25,12 @@ minetest.register_tool("replacer:inspect",
wield_image = "",
wield_scale = {x=1,y=1,z=1},
liquids_pointable = true, -- it is ok to request information about liquids
node_placement_prediction = nil,
on_use = function(itemstack, user, pointed_thing)
return replacer.inspect(itemstack, user, pointed_thing, nil, true); --false)
end,
on_place = function(itemstack, placer, pointed_thing)
return replacer.inspect(itemstack, placer, pointed_thing, nil, true)
end,
})