mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Fixed the no-update issues
This commit is contained in:
1 parent
a0b8ab0331
commit
ed919fa19a
5 files changed
+46
-18
No files matched your search
@@ -173,9 +173,9 @@ public class TileEntityDynamicTank extends TileEntityContainerBlock implements I
|
||||
{
|
||||
Coord4D obj = Coord4D.get(this).getFromSide(side);
|
||||
|
||||
if(!(obj.getTileEntity(worldObj) instanceof TileEntityDynamicTank))
|
||||
if(!obj.isAirBlock(worldObj) && !(obj.getTileEntity(worldObj) instanceof TileEntityDynamicTank))
|
||||
{
|
||||
worldObj.notifyBlockOfNeighborChange(obj.xCoord, obj.yCoord, obj.zCoord, getBlockType());
|
||||
obj.getBlock(worldObj).onNeighborChange(worldObj, obj.xCoord, obj.yCoord, obj.zCoord, xCoord, yCoord, zCoord);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user