NucleoidMC / fantasy

Library to support creating dimensions at runtime
GNU Lesser General Public License v3.0
96 stars 28 forks source link

World unload event not invoked when unloading persistent worlds #34

Closed LCLPYT closed 10 months ago

LCLPYT commented 1 year ago

How to replicate this issue

The event is called however, when using /fantasy_delete test:test.

Details

Mod version: 0.4.11 Minecraft version: 1.20.1 Loader version: 0.14.21 Platform: Fabric

Comment

It appears that the "setDone" method of the ProgressListener in RuntimeWorldManager#unload is no longer called. Maybe the event should be invoked after the world removal as in delete?