This commit is contained in:
Anuken 2020-12-04 10:25:41 -05:00
parent a451ad895c
commit bc70c08820

View File

@ -1099,8 +1099,13 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
public void displayBars(Table table){
for(Func<Building, Bar> bar : block.bars.list()){
table.add(bar.get(self())).growX();
table.row();
//TODO fix conclusively
try{
table.add(bar.get(self())).growX();
table.row();
}catch(ClassCastException e){
break;
}
}
}