mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-09-03 18:40:35 +02:00
Removed some unneeded code.
This commit is contained in:
parent
7a4055d0ab
commit
4a60911b02
|
@ -196,27 +196,6 @@ public class IslandManager {
|
||||||
for (IslandWorld worldList : IslandWorld.getIslandWorlds())
|
for (IslandWorld worldList : IslandWorld.getIslandWorlds())
|
||||||
prepareIsland(island, worldList);
|
prepareIsland(island, worldList);
|
||||||
|
|
||||||
for (IslandWorld world : IslandWorld.values()) {
|
|
||||||
|
|
||||||
for (IslandEnvironment env : IslandEnvironment.values()) {
|
|
||||||
|
|
||||||
Location loc = island.getLocation(world, env);
|
|
||||||
|
|
||||||
if (loc != null) {
|
|
||||||
new BukkitRunnable() {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
loc.getWorld().loadChunk(loc.getChunk());
|
|
||||||
}
|
|
||||||
|
|
||||||
}.runTask(skyblock);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!visitManager.hasIsland(island.getOwnerUUID())) {
|
if (!visitManager.hasIsland(island.getOwnerUUID())) {
|
||||||
visitManager.createIsland(island.getOwnerUUID(),
|
visitManager.createIsland(island.getOwnerUUID(),
|
||||||
new IslandLocation[] { island.getIslandLocation(IslandWorld.Normal, IslandEnvironment.Island), island.getIslandLocation(IslandWorld.Nether, IslandEnvironment.Island),
|
new IslandLocation[] { island.getIslandLocation(IslandWorld.Normal, IslandEnvironment.Island), island.getIslandLocation(IslandWorld.Nether, IslandEnvironment.Island),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user