Fix InventoryWorkaround.addItem() not using the combined list.

This commit is contained in:
snowleo 2011-07-18 04:59:47 +02:00
parent a3c71e4617
commit c1c3005454

View file

@ -100,9 +100,9 @@ public final class InventoryWorkaround
} }
for (int i = 0; i < items.length; i++) for (int i = 0; i < combined.length; i++)
{ {
final ItemStack item = items[i]; final ItemStack item = combined[i];
while (true) while (true)
{ {
// Do we already have a stack of it? // Do we already have a stack of it?