Fixed Crash on Rift Removal
Fixed a crash from manipulating rift data on the client side. I let this happen because it seemed like TileEntityRift already did that before. This crash also exposed another issue: that server-side functions are being used on the client side. I'm not sure how pervasive this is but some client dimensions are being constructed with the server-side constructor.
This commit is contained in:
parent
e793493331
commit
20db828ac0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue