summaryrefslogtreecommitdiff
path: root/class_layout.lua
diff options
context:
space:
mode:
Diffstat (limited to 'class_layout.lua')
-rw-r--r--class_layout.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/class_layout.lua b/class_layout.lua
index 0aa139e..d516870 100644
--- a/class_layout.lua
+++ b/class_layout.lua
@@ -86,7 +86,7 @@ function DigtronLayout.create(pos, player)
self.water_touching = true
elseif minetest.get_item_group(node.name, "lava") ~= 0 then
self.lava_touching = true
- if digtron.lava_impassible == true then
+ if digtron.config.lava_impassible then
self.protected:set(testpos.x, testpos.y, testpos.z, true)
end
end