Don't crash if spawnpoint conversion fails
parent
bfd5133455
commit
c6f615872f
|
@ -44,6 +44,9 @@ function beds.read_spawns()
|
|||
end
|
||||
|
||||
function beds.save_spawns()
|
||||
if not beds.spawn then
|
||||
return
|
||||
end
|
||||
writing = true
|
||||
local output = io.open(org_file, "w")
|
||||
for i, v in pairs(beds.spawn) do
|
||||
|
|
Loading…
Reference in New Issue