From 862244510e284a9112f7cc548f7b831f5d861d1e Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Tue, 20 Jun 2017 11:36:18 +0200 Subject: [PATCH] revert settings:get_pos since not implemented in mt-0.4.16 --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 8590192..1bcd17c 100644 --- a/init.lua +++ b/init.lua @@ -2,7 +2,7 @@ ccompass = {} -- default target to static_spawnpoint or 0/0/0 -ccompass.default_target = minetest.settings:get_pos("static_spawnpoint") or {x=0, y=0, z=0} +ccompass.default_target = minetest.setting_get_pos("static_spawnpoint") or {x=0, y=0, z=0} -- Re-calibration allowed ccompass.recalibrate = minetest.settings:get_bool("ccompass_recalibrate")