fixed shameful out of bound exceptions, fix #1522
This commit is contained in:
parent
3919a9dae8
commit
8a150e9064
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ public class BptBuilderBlueprint extends BptBuilderBase {
|
||||||
boolean smallStack = reqStk.stackSize == 1;
|
boolean smallStack = reqStk.stackSize == 1;
|
||||||
ItemStack usedStack = reqStk;
|
ItemStack usedStack = reqStk;
|
||||||
int size = inv.getSizeInventory();
|
int size = inv.getSizeInventory();
|
||||||
for (int i = 0; i <= size; ++i) {
|
for (int i = 0; i < size; ++i) {
|
||||||
if (!inv.isBuildingMaterial(i)) {
|
if (!inv.isBuildingMaterial(i)) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue