SSB-SlimeWorldManager icon indicating copy to clipboard operation
SSB-SlimeWorldManager copied to clipboard

/island disband does not run the WorldUnloadEvent event.

Open bkgktp opened this issue 9 months ago • 1 comments

Minecraft's Version

Checking version, please wait... [17:53:28 INFO]: This server is running AdvancedSlimePaper version 1.21.4-16606-HEAD@dc95a81 (2025-04-08T06:06:52Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)

Plugin's Version

SuperiorSkyblock2-2024.4-b446

SSBSlimeWorldManager-2024.2-b32

Describe the bug

WorldUnloadEvent should run when an island is deleted because the existing SlimeWorld world has been deleted and this should be detected.

The Bukkit#unloadWorld method should be run extra when deleting the candidate, because the developers of AdvancedSlimePaper say that the Bukkit#unloadWorld method should be run when we delete the world.

To Reproduce

delete only one candidate and debug WorldUnloadEvent!

Additional Information

No response

bkgktp avatar Apr 14 '25 14:04 bkgktp

Bukkit#unloadWorld is already called when deleting worlds. I alsot tested it and the event is fired as well.

OmerBenGera avatar Apr 17 '25 19:04 OmerBenGera