Fix ArrayIndexOutOfBoundsException in Electric Chest when attached to AE import buses and presumably other things.

This commit is contained in:
Ben Spiers 2013-07-27 22:53:30 +01:00
parent 0188882688
commit 6a562117b6

View file

@ -146,7 +146,7 @@ public class TileEntityElectricChest extends TileEntityElectricBlock
return new int[] {54};
}
else {
int[] ret = new int[54];
int[] ret = new int[55];
for(int i = 0; i <= ret.length; i++)
{