Merge pull request #179 from SenseiKiwi/master

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

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); DimLink link = PocketManager.getLink(this.xCoord, this.yCoord, this.zCoord, worldObj);
if (link != null) if (link != null)