Готовая лабораторная работа 6
This commit is contained in:
parent
23173f9936
commit
92e00e4304
@ -33,7 +33,9 @@ public class TanksGenericStorage {
|
|||||||
for (DrawingArmoVehicle elem: _tankStorages.get(key).getTanks(100)) {
|
for (DrawingArmoVehicle elem: _tankStorages.get(key).getTanks(100)) {
|
||||||
if(_tankStorages.get(key) == null)
|
if(_tankStorages.get(key) == null)
|
||||||
return false;
|
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)
|
if(data.length() == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user