mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-20 17:28:14 +07:00
Fixed #3756
This commit is contained in:
parent
a451ad895c
commit
bc70c08820
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user