From ef5653330c77a82114060fd1ee125e8e2c2ffcf3 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sun, 8 Feb 2015 12:16:55 +1100 Subject: [PATCH] fixed population --- .../plot/generator/AugmentedPopulator.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/AugmentedPopulator.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/AugmentedPopulator.java index 66ddee263..2ac20aaeb 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/AugmentedPopulator.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/AugmentedPopulator.java @@ -25,6 +25,7 @@ public class AugmentedPopulator extends BlockPopulator { public final PlotManager manager; public final PlotGenerator generator; public final PlotCluster cluster; + public final Random r = new Random(); public final boolean p; public final boolean b; public final boolean o; @@ -173,5 +174,8 @@ public class AugmentedPopulator extends BlockPopulator { PlotHelper.setBlock(block, plotblock); } } + for (BlockPopulator populator : generator.getDefaultPopulators(world)) { + populator.populate(world, r,world.getChunkAt(X, Z)); + } } } \ No newline at end of file