aboutsummaryrefslogtreecommitdiff
path: root/steles
diff options
context:
space:
mode:
Diffstat (limited to 'steles')
-rw-r--r--steles/nodes.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/steles/nodes.lua b/steles/nodes.lua
index 4eff56f..d2fb504 100644
--- a/steles/nodes.lua
+++ b/steles/nodes.lua
@@ -26,11 +26,11 @@ display_lib.register_display_entity("steles:text")
for i, material in ipairs(steles.materials) do
local ndef = minetest.registered_nodes[material]
- local groups = table.copy(ndef.groups)
- groups.display_lib_node = 1
if ndef then
+ local groups = table.copy(ndef.groups)
local parts = material:split(":")
+ groups.display_lib_node = 1
minetest.register_node("steles:"..parts[2].."_stele", {
description = steles.materials_desc[i],