mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-11 06:45:49 +00:00
more changes
This commit is contained in:
parent
f154754e1b
commit
d227bcc739
27 changed files with 1151 additions and 351 deletions
|
@ -24,6 +24,7 @@ import com.intellectualcrafters.plot.object.PlotClusterId;
|
|||
import com.intellectualcrafters.plot.object.PlotId;
|
||||
import com.intellectualcrafters.plot.object.PlotManager;
|
||||
import com.intellectualcrafters.plot.object.PlotWorld;
|
||||
import com.intellectualcrafters.plot.util.bukkit.BukkitTaskManager;
|
||||
|
||||
public class ClusterManager {
|
||||
public static HashMap<String, HashSet<PlotCluster>> clusters;
|
||||
|
@ -264,7 +265,7 @@ public class ClusterManager {
|
|||
final AugmentedPopulator populator = getPopulator(cluster);
|
||||
final ArrayList<Chunk> chunks = new ArrayList<>();
|
||||
|
||||
TaskManager.runTaskLater(new Runnable() {
|
||||
BukkitTaskManager.runTaskLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
ClusterManager.regenerating.remove(cluster.world + ":" + cluster.getName());
|
||||
|
@ -284,7 +285,7 @@ public class ClusterManager {
|
|||
}
|
||||
for (final Chunk chunk : chunks) {
|
||||
i+=interval;
|
||||
TaskManager.runTaskLater(new Runnable() {
|
||||
BukkitTaskManager.runTaskLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (populator == null || plotworld.TYPE == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue