Vessels: Fix vessels shelf infotext

This commit is contained in:
An0n3m0us 2019-09-21 10:45:03 +01:00 committed by SmallJoker
parent 3f7cd062c3
commit b31795dd04
1 changed files with 2 additions and 2 deletions

View File

@ -43,9 +43,9 @@ local function update_vessels_shelf(pos)
end
meta:set_string("formspec", formspec)
if n_items == 0 then
meta:set_string("infotext", S("Empty Vessel Shelf"))
meta:set_string("infotext", S("Empty Vessels Shelf"))
else
meta:set_string("infotext", S("Vessel Shelf (@1 items)", n_items))
meta:set_string("infotext", S("Vessels Shelf (@1 items)", n_items))
end
end