Add getter calls for raw nodedb

(required for itrainmap mod)
master
orwell96 2017-01-29 21:24:40 +01:00
parent 4b63e8d9d6
commit 90390dfc98
1 changed files with 6 additions and 2 deletions

View File

@ -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