mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-10 14:33:08 +00:00
generate ore correctly
This commit is contained in:
parent
debc7f6ab3
commit
646049594c
1 changed files with 2 additions and 1 deletions
|
@ -251,6 +251,7 @@ public class ClusterManager {
|
|||
int i = 0;
|
||||
final Random rand = new Random();
|
||||
final World world = Bukkit.getWorld(cluster.world);
|
||||
final PlotWorld plotworld = PlotMain.getWorldSettings(cluster.world);
|
||||
|
||||
Location bot = getClusterBottom(cluster);
|
||||
Location top = getClusterTop(cluster);
|
||||
|
@ -286,7 +287,7 @@ public class ClusterManager {
|
|||
TaskManager.runTaskLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (populator == null) {
|
||||
if (populator == null || plotworld.CLUSTER_ORE) {
|
||||
world.regenerateChunk(chunk.getX(), chunk.getZ());
|
||||
chunk.unload();
|
||||
chunk.load();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue