diff options
author | Blood-Asp <Blood@Asp> | 2015-06-29 23:03:55 +0200 |
---|---|---|
committer | Blood-Asp <Blood@Asp> | 2015-06-29 23:03:55 +0200 |
commit | 002e757d65f20ab809f7a21d0662e36aa84c2fc0 (patch) | |
tree | f9af947c08343be8d475ef7aebc3dae7e12050bc /main/java/gregtech/common/blocks | |
parent | 8198a51aeef641fd25d2b77f776c7640dd3f84a9 (diff) | |
download | GT5-Unofficial-002e757d65f20ab809f7a21d0662e36aa84c2fc0.tar.gz GT5-Unofficial-002e757d65f20ab809f7a21d0662e36aa84c2fc0.tar.bz2 GT5-Unofficial-002e757d65f20ab809f7a21d0662e36aa84c2fc0.zip |
Version 5.08.22-23
Diffstat (limited to 'main/java/gregtech/common/blocks')
-rw-r--r-- | main/java/gregtech/common/blocks/GT_TileEntity_Ores.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java b/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java index 07976c8ee2..6edce96441 100644 --- a/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java +++ b/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java @@ -60,7 +60,7 @@ public class GT_TileEntity_Ores public Packet getDescriptionPacket()
{
if (!this.worldObj.isRemote) {
- if (GT_Utility.isBlockOccluded(worldObj, xCoord, yCoord, zCoord, false, true)) {
+ if ((this.mBlocked == (GT_Utility.isOpaqueBlock(this.worldObj, this.xCoord + 1, this.yCoord, this.zCoord)) && (GT_Utility.isOpaqueBlock(this.worldObj, this.xCoord - 1, this.yCoord, this.zCoord)) && (GT_Utility.isOpaqueBlock(this.worldObj, this.xCoord, this.yCoord + 1, this.zCoord)) && (GT_Utility.isOpaqueBlock(this.worldObj, this.xCoord, this.yCoord - 1, this.zCoord)) && (GT_Utility.isOpaqueBlock(this.worldObj, this.xCoord, this.yCoord, this.zCoord + 1)) && (GT_Utility.isOpaqueBlock(this.worldObj, this.xCoord, this.yCoord, this.zCoord - 1)) ? 1 : 0) == 0) {
GT_Values.NW.sendPacketToAllPlayersInRange(this.worldObj, new GT_Packet_Ores(this.xCoord, (short)this.yCoord, this.zCoord, this.mMetaData), this.xCoord, this.zCoord);
}
}
|