summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2013-12-17 21:42:52 -0600
committercheapie <no-email-for-you@example.com>2013-12-17 21:42:52 -0600
commitc4687a1b5ed5bdbca8c562ff5cf697f1217735c2 (patch)
tree642ebf7919cf6c49865d596392e9c946ffa4afca
parent3b125610f35397505d10758d1bd88df2115eaaf1 (diff)
downloadplasticbox-c4687a1b5ed5bdbca8c562ff5cf697f1217735c2.tar
plasticbox-c4687a1b5ed5bdbca8c562ff5cf697f1217735c2.tar.gz
plasticbox-c4687a1b5ed5bdbca8c562ff5cf697f1217735c2.tar.bz2
plasticbox-c4687a1b5ed5bdbca8c562ff5cf697f1217735c2.tar.xz
plasticbox-c4687a1b5ed5bdbca8c562ff5cf697f1217735c2.zip
Update init.lua
-rw-r--r--init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 6b294a4..99d8292 100644
--- a/init.lua
+++ b/init.lua
@@ -214,7 +214,8 @@ for i in ipairs(plasticbox.colorlist) do
local colorname = plasticbox.colorlist[i][1]
local desc = plasticbox.colorlist[i][2]
- register_stair(
+ if minetest.get_modpath("moreblocks") then
+ register_stair(
"plasticbox",
"plasticbox_"..colorname,
"plasticbox:plasticbox_"..colorname,