From 6b89d27562718937c4b5b09d8940dc6a33aec30e Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Mon, 1 Sep 2014 12:23:57 -0500 Subject: [PATCH] Initialize Drives onRead, this prevents rendering errors. --- tile/storage/TileDrive.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tile/storage/TileDrive.java b/tile/storage/TileDrive.java index 52e31871..631c60ec 100644 --- a/tile/storage/TileDrive.java +++ b/tile/storage/TileDrive.java @@ -173,6 +173,13 @@ public class TileDrive extends AENetworkInvTile implements IChestOrDrive, IPrior return inv; } + @Override + public void onReady() + { + super.onReady(); + updateState(); + } + @Override public void onChangeInventory(IInventory inv, int slot, InvOperation mc, ItemStack removed, ItemStack added) {