diff options
Diffstat (limited to 'advtrains/copytool.lua')
-rw-r--r-- | advtrains/copytool.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/copytool.lua b/advtrains/copytool.lua index ca5cae1..c63551e 100644 --- a/advtrains/copytool.lua +++ b/advtrains/copytool.lua @@ -21,7 +21,7 @@ minetest.register_tool("advtrains:copytool", { local node=minetest.get_node_or_nil(pointed_thing.under) if not node then atprint("[advtrains]Ignore at placer position") return itemstack end local nodename=node.name - if(not advtrains.is_track_and_drives_on(nodename, {default=true})) then + if(not advtrains.is_track(nodename)) then atprint("no track here, not placing.") return itemstack end |