Prevented 'overworld not loaded' crash, temp fix

This commit is contained in:
StevenRS11
2013-06-25 09:15:19 -04:00
parent 5b53399432
commit 60972eab21
2 changed files with 10 additions and 1 deletions

View File

@@ -906,6 +906,10 @@ public class dimHelper extends DimensionManager
public LinkData createPocket(LinkData link , boolean isGoingDown, boolean isRandomRift)
{
DDProperties properties = DDProperties.instance();
if(dimHelper.getWorld(0)==null)
{
return link;
}
if (dimHelper.getWorld(link.locDimID) == null)
{