mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
fixed population
This commit is contained in:
parent
0a215a15ba
commit
ef5653330c
@ -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));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user