mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
fix crash when player_transfer_distance is not set
This commit is contained in:
parent
11742b61b2
commit
01791cf550
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue