1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 03:54:19 +02:00

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

This commit is contained in:
snowleo
2011-07-18 04:59:47 +02:00
parent cf419fe209
commit 08eb239a2a

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?