summaryrefslogtreecommitdiff
path: root/castle_masonry/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'castle_masonry/init.lua')
-rw-r--r--castle_masonry/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/castle_masonry/init.lua b/castle_masonry/init.lua
index 0d23922..64cf296 100644
--- a/castle_masonry/init.lua
+++ b/castle_masonry/init.lua
@@ -10,7 +10,7 @@ dofile(MP.."/paving.lua")
local S, NS = dofile(MP.."/intllib.lua")
local read_setting = function(name, default)
- local setting = minetest.setting_getbool(name)
+ local setting = minetest.settings:get_bool(name)
if setting == nil then return default end
return setting
end