Merge pull request from SenseiKiwi/master

Fixed Crash on Rift Removal
This commit is contained in:
StevenRS11 2014-07-15 14:14:22 -05:00
commit 60bc8090f2

View file

@ -151,7 +151,7 @@ public class TileEntityRift extends DDTileEntityBase
}
}
}
if (closeTimer >= CLOSING_PERIOD)
if (closeTimer >= CLOSING_PERIOD && !worldObj.isRemote)
{
DimLink link = PocketManager.getLink(this.xCoord, this.yCoord, this.zCoord, worldObj);
if (link != null)