Give personal dims the right provider on client-side

This commit is contained in:
CannibalVox 2015-03-11 07:45:51 -05:00
parent 1464638fff
commit d2c8877c26

View file

@ -568,7 +568,10 @@ public class PocketManager
// unfortuantly. I send the dimdata to the client when they
// teleport.
// Steven
DimensionManager.registerDimension(dimensionID, mod_pocketDim.properties.PocketProviderID);
int providerID = mod_pocketDim.properties.PocketProviderID;
if (type == DimensionType.PERSONAL)
providerID = mod_pocketDim.properties.PersonalPocketProviderID;
DimensionManager.registerDimension(dimensionID,providerID);
}
return dimension;
}