This commit is contained in:
Anuken
2020-11-05 09:09:19 -05:00
parent 70db073054
commit 47b123c219
5 changed files with 3 additions and 4 deletions

View File

@@ -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){

View File

@@ -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();
}
}

View File

@@ -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();