Recover from world gen error.

This commit is contained in:
boy0001 2015-09-15 00:35:28 +10:00
parent b524d5fcfe
commit 9682e2914c
3 changed files with 29 additions and 24 deletions

View File

@ -26,6 +26,7 @@ public abstract class BukkitPlotPopulator extends BlockPopulator {
@Override @Override
public void populate(final World world, final Random rand, final Chunk chunk) { public void populate(final World world, final Random rand, final Chunk chunk) {
try {
this.world = world; this.world = world;
worldname = world.getName(); worldname = world.getName();
X = chunk.getX() << 4; X = chunk.getX() << 4;
@ -59,6 +60,10 @@ public abstract class BukkitPlotPopulator extends BlockPopulator {
} }
} }
} }
catch (Exception e) {
e.printStackTrace();
}
}
public abstract void populate(final World world, final RegionWrapper requiredRegion, final PseudoRandom random, final int cx, final int cz); public abstract void populate(final World world, final RegionWrapper requiredRegion, final PseudoRandom random, final int cx, final int cz);

Binary file not shown.

Binary file not shown.