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:
@@ -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?
|
||||||
|
Reference in New Issue
Block a user