diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-01-04 09:33:24 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-01-04 09:33:24 +0000 |
commit | 4b4a52b8d5b4fe2ae73a7b64c2f337da9eb96715 (patch) | |
tree | b6553c182b4df3f530230704bd41f7546e899826 /init.lua | |
parent | 38fb55fa86267ffd6365b3206f1779e9914bc8e5 (diff) |
deprecation warning fix
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ farming.select = { } -local creative_mode_cache = minetest.setting_getbool("creative_mode") +local creative_mode_cache = minetest.settings:get_bool("creative_mode") function farming.is_creative(name) return creative_mode_cache or minetest.check_player_privs(name, {creative = true}) |