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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util_item_place_node.lua b/util_item_place_node.lua
index 5d7a7d9..049bf71 100644
--- a/util_item_place_node.lua
+++ b/util_item_place_node.lua
@@ -77,7 +77,7 @@ end
digtron.item_place_node = function(itemstack, placer, place_to, param2)
local def = itemstack:get_definition()
- if not def or def.type ~= "node" then
+ if not def then
return itemstack, false
end