aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--advtrains/advtrains/nodedb.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/advtrains/advtrains/nodedb.lua b/advtrains/advtrains/nodedb.lua
index 0e1d836..0a8c1e8 100644
--- a/advtrains/advtrains/nodedb.lua
+++ b/advtrains/advtrains/nodedb.lua
@@ -224,9 +224,13 @@ minetest.register_on_dignode(function(pos, oldnode, digger)
ndb.clear(pos)
end)
-function ndb.t()
- return ndb_nodes[141061759008906]
+function ndb.get_nodes()
+ return ndb_nodes
end
+function ndb.get_nodeids()
+ return ndb_nodeids
+end
+
advtrains.ndb=ndb