mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-10 07:45:05 -04:00
Fixed side check in tile entities failing in rare cases. Closes #590.
This commit is contained in:
parent
dfc7457e47
commit
bfa8914ab5
@ -21,9 +21,9 @@ trait TileEntity extends net.minecraft.tileentity.TileEntity {
|
|||||||
|
|
||||||
def block = getBlockType
|
def block = getBlockType
|
||||||
|
|
||||||
def isClient = SideTracker.isClient
|
def isClient = !isServer
|
||||||
|
|
||||||
def isServer = SideTracker.isServer
|
def isServer = if (world != null) !world.isRemote else SideTracker.isServer
|
||||||
|
|
||||||
// ----------------------------------------------------------------------- //
|
// ----------------------------------------------------------------------- //
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user