Stop a launch crash.
Check whether pocket data is loaded before attempting to pull dimension data.
This commit is contained in:
parent
dacc736508
commit
c15e4253e8
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ public class PocketManager
|
|||
{
|
||||
try
|
||||
{
|
||||
if (personalPocketsMapping.containsValue(dimension))
|
||||
if (dimension.type() == DimensionType.PERSONAL)
|
||||
{
|
||||
if (!DimensionManager.isDimensionRegistered(dimension.id())){
|
||||
DimensionManager.registerDimension(dimension.id(), properties.PersonalPocketProviderID);
|
||||
|
|
Loading…
Add table
Reference in a new issue