Готовая лабораторная работа 6

This commit is contained in:
Никита Белянин 2023-12-02 03:06:00 +04:00
parent 23173f9936
commit 92e00e4304

View File

@ -33,7 +33,9 @@ public class TanksGenericStorage {
for (DrawingArmoVehicle elem: _tankStorages.get(key).getTanks(100)) {
if(_tankStorages.get(key) == null)
return false;
data.append(elem != null ? ExtentionDrawingTank.GetDataForSave(elem, _separatorForObjectWR) + "\n" : "");
if(_tankStorages.get(key) != null)
data.append(elem != null ? ExtentionDrawingTank.GetDataForSave(elem, _separatorForObjectWR) + "\n" : "");
}
if(data.length() == 0)