Fixed unloadEvent called async

This commit is contained in:
Fabrizio La Rosa 2020-06-17 04:28:36 +02:00
parent 908bc3d276
commit ab0b6c6641

View File

@ -895,7 +895,9 @@ public class IslandManager {
islandStorage.remove(island.getOwnerUUID());
Bukkit.getScheduler().runTask(skyblock, () -> {
Bukkit.getServer().getPluginManager().callEvent(new IslandUnloadEvent(island.getAPIWrapper()));
});
}
public void prepareIsland(Island island, IslandWorld world) {