mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-14 12:58:03 +00:00
fixed population
This commit is contained in:
parent
0a215a15ba
commit
ef5653330c
1 changed files with 4 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue