mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-02 17:09:58 +01:00
Fix InventoryWorkaround.addItem() not using the combined list.
This commit is contained in:
parent
a3c71e4617
commit
c1c3005454
@ -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)
|
||||
{
|
||||
// Do we already have a stack of it?
|
||||
|
Loading…
Reference in New Issue
Block a user