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:
parent
b4a58f5c88
commit
592aabf627
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue