mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-07 03:00:29 +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());
|
||||
|
||||
Bukkit.getScheduler().runTask(skyblock, () -> {
|
||||
Bukkit.getServer().getPluginManager().callEvent(new IslandUnloadEvent(island.getAPIWrapper()));
|
||||
});
|
||||
}
|
||||
|
||||
public void prepareIsland(Island island, IslandWorld world) {
|
||||
|
Loading…
Reference in New Issue
Block a user