Cleanup
This commit is contained in:
@@ -63,7 +63,7 @@ public abstract class SaveFileReader{
|
||||
protected int lastRegionLength;
|
||||
protected @Nullable CounterInputStream currCounter;
|
||||
|
||||
protected void region(String name, DataInput stream, CounterInputStream counter, IORunner<DataInput> cons) throws IOException{
|
||||
public void region(String name, DataInput stream, CounterInputStream counter, IORunner<DataInput> cons) throws IOException{
|
||||
counter.resetCount();
|
||||
this.currCounter = counter;
|
||||
int length;
|
||||
@@ -78,7 +78,7 @@ public abstract class SaveFileReader{
|
||||
}
|
||||
}
|
||||
|
||||
protected void region(String name, DataOutput stream, IORunner<DataOutput> cons) throws IOException{
|
||||
public void region(String name, DataOutput stream, IORunner<DataOutput> cons) throws IOException{
|
||||
try{
|
||||
writeChunk(stream, cons);
|
||||
}catch(Throwable e){
|
||||
|
||||
@@ -143,7 +143,7 @@ public class BaseGenerator{
|
||||
if(tiles == null) return;
|
||||
|
||||
for(Tile tile : tiles){
|
||||
if(tile.isCenter() && tile.block() instanceof PowerNode){
|
||||
if(tile.isCenter() && tile.block() instanceof PowerNode && tile.team() == state.rules.waveTeam){
|
||||
tile.build.placed();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,7 +75,6 @@ public class ContentInfoDialog extends BaseDialog{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(content.details != null){
|
||||
table.add("[gray]" + content.details).pad(6).padTop(20).width(400f).wrap().fillX();
|
||||
table.row();
|
||||
|
||||
Reference in New Issue
Block a user