Stairs: Add aliases needed due to new pine wood name
authorparamat <mat.gregory@virginmedia.com>
Sat, 15 Aug 2015 22:30:34 +0000 (23:30 +0100)
committerparamat <mat.gregory@virginmedia.com>
Sat, 15 Aug 2015 23:31:41 +0000 (00:31 +0100)
mods/stairs/init.lua

index c2547935e2cf35abe45c53d653a9d46539ca8c31..b3e09937fef19e2e470bc37927ec509c6b39b9ad 100644 (file)
@@ -7,6 +7,12 @@
 stairs = {}
 
 
+-- Register aliases for new pine node names
+
+minetest.register_alias("stairs:stair_pinewood", "stairs:stair_pine_wood")
+minetest.register_alias("stairs:slab_pinewood", "stairs:slab_pine_wood")
+
+
 -- Get setting for replace ABM
 
 local replace = minetest.setting_getbool("enable_stairs_replace_abm")