Fixed world generation bug with mods that add other dims

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
This commit is contained in:
StevenRS11
2013-02-21 16:27:51 -05:00
parent c6262ff0a6
commit 9495c4cf36
2 changed files with 5 additions and 2 deletions

View File

@@ -683,7 +683,10 @@ public class dimHelper extends DimensionManager
*/
public LinkData createPocket(LinkData link , boolean isGoingDown, boolean isRandomRift)
{
if(this.getWorld(link.locDimID)==null)
{
this.initDimension(link.locDimID);
}
int dimensionID;
int depth = this.getDimDepth(link.locDimID);