Use nodebox for rendering cables
This commit is contained in:
@@ -42,7 +42,7 @@ minetest.register_craft({
|
||||
-- Node callbacks
|
||||
minetest.register_on_placenode(function(pos,newNode)
|
||||
local def=minetest.registered_nodes[newNode.name]
|
||||
if def and def._industrialtest_hasPowerInput then
|
||||
if def and def.groups and def.groups._industrialtest_hasPowerInput then
|
||||
industrialtest.api.triggerNeighbours(pos)
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user