1
0
Fork 0

fix crash when player_transfer_distance is not set

pvp_knockback
cora 2022-10-11 05:42:45 +02:00 committed by Gitea
parent 11742b61b2
commit 01791cf550
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ local disable_blood = minetest.settings:get_bool("mobs_disable_blood")
local mobs_drop_items = minetest.settings:get_bool("mobs_drop_items") ~= false
local mobs_griefing = minetest.settings:get_bool("mobs_griefing") ~= false
local spawn_protected = minetest.settings:get_bool("mobs_spawn_protected") ~= false
local player_transfer_distance = minetest.settings:get("player_transfer_distance") or 128
local player_transfer_distance = tonumber(minetest.settings:get("player_transfer_distance")) or 128
local remove_far = true
local difficulty = tonumber(minetest.settings:get("mob_difficulty")) or 1.0
local show_health = false