Initialize Drives onRead, this prevents rendering errors.

This commit is contained in:
AlgorithmX2 2014-09-01 12:23:57 -05:00
parent 59a0c3f11a
commit 6b89d27562

View file

@ -173,6 +173,13 @@ public class TileDrive extends AENetworkInvTile implements IChestOrDrive, IPrior
return inv; return inv;
} }
@Override
public void onReady()
{
super.onReady();
updateState();
}
@Override @Override
public void onChangeInventory(IInventory inv, int slot, InvOperation mc, ItemStack removed, ItemStack added) public void onChangeInventory(IInventory inv, int slot, InvOperation mc, ItemStack removed, ItemStack added)
{ {