NucleoidMC / fantasy

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

Fix world unload event invocation and registry entry removal when unloading worlds #35

Closed LCLPYT closed 10 months ago

LCLPYT commented 1 year ago

Fixes #34

Context: the "setDone" of the ProgressListener passed to world.save() is never called by the server or client. I moved the content of "setDone" to after the save method. This resembles how the original event is invoked by Fabric.