summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-08-03 19:24:18 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-08-03 19:24:18 +0100
commit2312319fe3394c1489c3eb422a291df35d4b3073 (patch)
tree65c8adf49e6a7053d818b95e959f6b98eae1cb5f /api.lua
parentea4f85980df188d893a97fd3c44f6c053aa32052 (diff)
revert node_ok fallback return
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index 336fb04..c5262d1 100644
--- a/api.lua
+++ b/api.lua
@@ -528,7 +528,7 @@ local node_ok = function(pos, fallback)
return node
end
- return {name = fallback}
+ return minetest.registered_nodes[fallback] -- {name = fallback}
end