summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorcodexp <codexp@gmx.net>2018-06-23 15:37:13 +0200
committercodexp <codexp@gmx.net>2018-06-23 15:37:13 +0200
commit3988f4c57224e2754c2c0f50465ea8a3bf17ac45 (patch)
tree6ccf9af5ebee14c77c10e16f3381d304dd4c6b6c /api.lua
parent934757edd6889284debc326e92c99d0217f6cb4d (diff)
parentedd00f222c02f2e0f42f0c9bf52de74c41bf12b9 (diff)
Merge origin/master to refactor-translation branch (resolving conflicts)
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index bcc0848..f6afec5 100644
--- a/api.lua
+++ b/api.lua
@@ -303,6 +303,6 @@ end
function unified_inventory.is_creative(playername)
return minetest.check_player_privs(playername, {creative=true})
- or minetest.setting_getbool("creative_mode")
+ or minetest.settings:get_bool("creative_mode")
end