From 2d762d93280beb0f7c97f82779869f5ac35d9ac5 Mon Sep 17 00:00:00 2001
From: texmex <josefsahlberg+minetest@gmail.com>
Date: Sun, 18 Jun 2017 21:03:54 +0200
Subject: [PATCH] Replace deprecated settings method

---
 init.lua | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/init.lua b/init.lua
index b85bcc7..f5576f3 100644
--- a/init.lua
+++ b/init.lua
@@ -2,15 +2,15 @@
 local MP = minetest.get_modpath(minetest.get_current_modname())
 local S, NS = dofile(MP.."/intllib.lua")
 
-local pontoons_override_logs = minetest.setting_getbool("pontoons_override_logs")
+local pontoons_override_logs = minetest.settings:get_bool("pontoons_override_logs")
 if pontoons_override_logs == nil then pontoons_override_logs = true end -- default true
 
-local pontoons_override_wood = minetest.setting_getbool("pontoons_override_wood")
+local pontoons_override_wood = minetest.settings:get_bool("pontoons_override_wood")
 if pontoons_override_wood == nil then pontoons_override_wood = true end -- default true
 
-local pontoons_wood_pontoons = minetest.setting_getbool("pontoons_wood_pontoons") -- default false
+local pontoons_wood_pontoons = minetest.settings:get_bool("pontoons_wood_pontoons") -- default false
 
-local pontoons_steel_pontoons = minetest.setting_getbool("pontoons_steel_pontoons")
+local pontoons_steel_pontoons = minetest.settings:get_bool("pontoons_steel_pontoons")
 if pontoons_steel_pontoons == nil then pontoons_steel_pontoons = true end -- default true
 
 local default_modpath = minetest.get_modpath("default")
@@ -97,4 +97,4 @@ if pontoons_steel_pontoons then
 			}
 		})
 	end
-end
\ No newline at end of file
+end