aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods
diff options
context:
space:
mode:
Diffstat (limited to 'games/devtest/mods')
-rw-r--r--games/devtest/mods/util_commands/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/devtest/mods/util_commands/init.lua b/games/devtest/mods/util_commands/init.lua
index ad8d3f9ba..3a0e91a41 100644
--- a/games/devtest/mods/util_commands/init.lua
+++ b/games/devtest/mods/util_commands/init.lua
@@ -66,7 +66,7 @@ if s_infplace == "true" then
elseif s_infplace == "false" then
infplace = false
else
- infplace = minetest.settings:get_bool("creative_mode", false)
+ infplace = minetest.is_creative_enabled("")
end
minetest.register_chatcommand("infplace", {