diff --git a/src/main/java/appeng/tile/storage/TileChest.java b/src/main/java/appeng/tile/storage/TileChest.java index 4e04091ca22..46df57563c1 100644 --- a/src/main/java/appeng/tile/storage/TileChest.java +++ b/src/main/java/appeng/tile/storage/TileChest.java @@ -413,6 +413,7 @@ public boolean readFromStream_TileChest(final ByteBuf data) { this.type = data.readByte() & 0b11; final AEColor oldPaintedColor = this.paintedColor; this.paintedColor = AEColor.values()[data.readByte()]; + this.getProxy().setColor(this.paintedColor); final int item = data.readInt(); @@ -433,6 +434,7 @@ public void readFromNBT_TileChest(final NBTTagCompound data) { this.priority = data.getInteger("priority"); if (data.hasKey("paintedColor")) { this.paintedColor = AEColor.values()[data.getByte("paintedColor")]; + this.getProxy().setColor(this.paintedColor); } } @@ -715,8 +717,11 @@ public boolean recolourBlock(final ForgeDirection side, final AEColor newPainted if (this.paintedColor == newPaintedColor) { return false; } - this.paintedColor = newPaintedColor; + this.getProxy().setColor(this.paintedColor); + if (getGridNode(side) != null) { + getGridNode(side).updateState(); + } this.markDirty(); this.markForUpdate(); return true;