Fix bug after server crash
This commit is contained in:
parent
622a26d575
commit
3488bdfed1
@ -101,7 +101,7 @@ local function generate_formspec_substring(pos, meta, form_def, player_name)
|
|||||||
elseif elem.type == "dropdown" then
|
elseif elem.type == "dropdown" then
|
||||||
local l = elem.choices:split(",")
|
local l = elem.choices:split(",")
|
||||||
if nvm.running or techage.is_running(nvm) then
|
if nvm.running or techage.is_running(nvm) then
|
||||||
local val = elem.default
|
local val = elem.default or ""
|
||||||
if meta:contains(elem.name) then
|
if meta:contains(elem.name) then
|
||||||
val = meta:get_string(elem.name) or ""
|
val = meta:get_string(elem.name) or ""
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user