fixed shameful out of bound exceptions, fix #1522

This commit is contained in:
SpaceToad 2014-03-19 15:18:43 +01:00
parent 3919a9dae8
commit 8a150e9064

View file

@ -283,7 +283,7 @@ public class BptBuilderBlueprint extends BptBuilderBase {
boolean smallStack = reqStk.stackSize == 1;
ItemStack usedStack = reqStk;
int size = inv.getSizeInventory();
for (int i = 0; i <= size; ++i) {
for (int i = 0; i < size; ++i) {
if (!inv.isBuildingMaterial(i)) {
}