summaryrefslogtreecommitdiff
path: root/builtin/game/forceloading.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/game/forceloading.lua')
-rw-r--r--builtin/game/forceloading.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/forceloading.lua b/builtin/game/forceloading.lua
index 8a05de36c..7c5537e85 100644
--- a/builtin/game/forceloading.lua
+++ b/builtin/game/forceloading.lua
@@ -40,7 +40,7 @@ function core.forceload_block(pos, transient)
elseif other_table[hash] ~= nil then
relevant_table[hash] = 1
else
- if total_forceloaded >= (tonumber(core.setting_get("max_forceloaded_blocks")) or 16) then
+ if total_forceloaded >= (tonumber(core.settings:get("max_forceloaded_blocks")) or 16) then
return false
end
total_forceloaded = total_forceloaded+1