On startup, existing sub-dimensions of personal dimensions were being
given the wrong worldprovider by the launch code.  The reason for this is
that subdimensions are not added to the player -> dimension mapping for
personal dimensions, because there is only one canonical "personal"
dimension.  The launch code was using presence or absence in the mapping
to determine whether a dimension is personal, rather than the dimension
type.  This is now fixed.
This commit is contained in:
Stephen Baynham 2015-07-21 19:48:18 -04:00
parent 27d17d86a1
commit dacc736508

View file

@ -90,8 +90,14 @@ public class PocketProvider extends WorldProvider
@Override
protected void generateLightBrightnessTable()
{
if (!PocketManager.isLoaded())
{
super.generateLightBrightnessTable();
return;
}
NewDimData data = PocketManager.getDimensionData(this.dimensionId);
if(!PocketManager.isLoaded() || data == null || data.type() == DimensionType.POCKET)
if(data == null || data.type() == DimensionType.POCKET)
{
super.generateLightBrightnessTable();
return;