fixed population

This commit is contained in:
boy0001 2015-02-08 12:16:55 +11:00
parent 0a215a15ba
commit ef5653330c

View File

@ -25,6 +25,7 @@ public class AugmentedPopulator extends BlockPopulator {
public final PlotManager manager; public final PlotManager manager;
public final PlotGenerator generator; public final PlotGenerator generator;
public final PlotCluster cluster; public final PlotCluster cluster;
public final Random r = new Random();
public final boolean p; public final boolean p;
public final boolean b; public final boolean b;
public final boolean o; public final boolean o;
@ -173,5 +174,8 @@ public class AugmentedPopulator extends BlockPopulator {
PlotHelper.setBlock(block, plotblock); PlotHelper.setBlock(block, plotblock);
} }
} }
for (BlockPopulator populator : generator.getDefaultPopulators(world)) {
populator.populate(world, r,world.getChunkAt(X, Z));
}
} }
} }