Some sponge fixes

This commit is contained in:
Jesse Boyd
2017-04-07 08:25:08 +10:00
parent c1a6c75ebe
commit 6e0ade4f63
6 changed files with 49 additions and 44 deletions

View File

@ -2033,7 +2033,7 @@ public class Plot {
for (int i = 4; i > 0; i--) {
String caption = C.valueOf("OWNER_SIGN_LINE_" + i).s();
int index = caption.indexOf("%plr%");
if (index == -1) {
if (index < 0) {
continue;
}
String line = lines[i - 1];

View File

@ -36,11 +36,7 @@ public class SingleWorldGenerator extends IndependentPlotGenerator {
result.setCuboid(dirt1, dirt2, PlotBlock.get(3, 0));
result.setCuboid(grass1, grass2, PlotBlock.get(2, 0));
}
for (int x = 0; x < 16; x++) {
for (int z = 0; z < 16; z++) {
result.setBiome(x, z, "PLAINS");
}
}
result.fillBiome("PLAINS");
}
@Override