mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-02-14 02:31:21 +01:00
Fixed unloadEvent called async
This commit is contained in:
parent
908bc3d276
commit
ab0b6c6641
@ -895,7 +895,9 @@ public class IslandManager {
|
|||||||
|
|
||||||
islandStorage.remove(island.getOwnerUUID());
|
islandStorage.remove(island.getOwnerUUID());
|
||||||
|
|
||||||
Bukkit.getServer().getPluginManager().callEvent(new IslandUnloadEvent(island.getAPIWrapper()));
|
Bukkit.getScheduler().runTask(skyblock, () -> {
|
||||||
|
Bukkit.getServer().getPluginManager().callEvent(new IslandUnloadEvent(island.getAPIWrapper()));
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void prepareIsland(Island island, IslandWorld world) {
|
public void prepareIsland(Island island, IslandWorld world) {
|
||||||
|
Loading…
Reference in New Issue
Block a user