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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user