Minor Change

Added a comment in PocketManager to explain why we don't unregister
pocket dimensions with Forge when we delete them.
This commit is contained in:
SenseiKiwi 2014-07-03 17:32:40 -04:00
parent b4a58f5c88
commit 592aabf627

View file

@ -317,6 +317,11 @@ public class PocketManager
{ {
deleteDimensionFiles(dimension); deleteDimensionFiles(dimension);
} }
// Note: We INTENTIONALLY don't unregister the dimensions that we
// delete with Forge. Instead, we keep them registered to stop Forge
// from reallocating those IDs to other mods such as Mystcraft. This
// is to prevent bugs. Blacklisted dimensions are still properly
// unregistered when the server shuts down.
dimensionIDBlackList.add(dimension.id); dimensionIDBlackList.add(dimension.id);
deleteDimensionData(dimension); deleteDimensionData(dimension);
return true; return true;