Fixed #3756
This commit is contained in:
@@ -1099,8 +1099,13 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
|||||||
|
|
||||||
public void displayBars(Table table){
|
public void displayBars(Table table){
|
||||||
for(Func<Building, Bar> bar : block.bars.list()){
|
for(Func<Building, Bar> bar : block.bars.list()){
|
||||||
table.add(bar.get(self())).growX();
|
//TODO fix conclusively
|
||||||
table.row();
|
try{
|
||||||
|
table.add(bar.get(self())).growX();
|
||||||
|
table.row();
|
||||||
|
}catch(ClassCastException e){
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user