diff --git a/depends.txt b/depends.txt
index 35aa8a6e5ab5c368f999c3ce933aef3564111086..49669a275e87a7ab30471c3dfda4adbce053fc9d 100644
--- a/depends.txt
+++ b/depends.txt
@@ -5,3 +5,4 @@ stairs
 xpanes
 fire?
 oresplus?
+moreblocks?
\ No newline at end of file
diff --git a/handlers/registration.lua b/handlers/registration.lua
index f0db4fa17d2e6742d211c6a524d5299049f2c649..cbeabdb03822c105f22d5c9e3d17abe0343877a0 100644
--- a/handlers/registration.lua
+++ b/handlers/registration.lua
@@ -122,8 +122,10 @@ function xdecor.register(name, def)
 
 	minetest.register_node("xdecor:"..name, def)
 
-	if minetest.settings:get_bool("disable_xdecor_workbench") and 
-	  (minetest.get_modpath("moreblocks") or minetest.get_modpath("stairs")) then
+	local workbench = minetest.settings:get_bool("enable_xdecor_workbench")
+
+	if workbench == false and
+	   (minetest.get_modpath("moreblocks") or minetest.get_modpath("stairs")) then
 		if xdecor.stairs_valid_def(def) then
 			xdecor_stairs_alternative("xdecor:"..name, def)
 		end