]> git.lizzy.rs Git - worldedit.git/commitdiff
replace deprecated function call
authorIsidor Zeuner <minetest@quidecco.de>
Fri, 23 Nov 2018 13:08:05 +0000 (14:08 +0100)
committersfan5 <sfan5@live.de>
Sun, 25 Nov 2018 12:46:27 +0000 (13:46 +0100)
worldedit/init.lua

index 8358e3b979d2b62742f53a52dc35e35af7044de7..a38e3e65aa60fe32960007cbfb4e04e8370d69ab 100644 (file)
@@ -42,7 +42,7 @@ load_module(path .. "/compatibility.lua")
 load_module(path .. "/cuboid.lua")\r
 \r
 \r
-if minetest.setting_getbool("log_mods") then\r
+if minetest.settings:get_bool("log_mods") then\r
        print("[WorldEdit] Loaded!")\r
 end\r
 \r