summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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