mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Recover from world gen error.
This commit is contained in:
parent
b524d5fcfe
commit
9682e2914c
@ -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.
Loading…
Reference in New Issue
Block a user