summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
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 2b63922..42fc167 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