mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Fix InventoryWorkaround.addItem() not using the combined list.
This commit is contained in:
parent
a3c71e4617
commit
c1c3005454
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue