summaryrefslogtreecommitdiff
path: root/util_item_place_node.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util_item_place_node.lua')
-rw-r--r--util_item_place_node.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/util_item_place_node.lua b/util_item_place_node.lua
index 75565b1..77c499b 100644
--- a/util_item_place_node.lua
+++ b/util_item_place_node.lua
@@ -74,9 +74,6 @@ digtron.item_place_node = function(itemstack, placer, place_to, param2)
pointed_thing.under = vector.add(place_to, minetest.facedir_to_dir(param2))
elseif def.paramtype2 == "wallmounted" then
pointed_thing.under = vector.add(place_to, minetest.wallmounted_to_dir(param2))
- else
- minetest.log("error", "[digtron] the node " .. itemstack:get_name() .. " had an unrecognized paramtype2, " .. dump(def.paramtype2))
- pointed_thing.under = {x=place_to.x, y=place_to.y - 1, z=place_to.z}
end
-- pass a copy of the item stack parameter because on_place might modify it directly and then we can't tell if we succeeded or not