mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 03:24:31 +02:00
NPE fix in InventoryWorkaround
This commit is contained in:
@@ -103,6 +103,11 @@ public final class InventoryWorkaround
|
||||
for (int i = 0; i < combined.length; i++)
|
||||
{
|
||||
final ItemStack item = combined[i];
|
||||
if (item == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
while (true)
|
||||
{
|
||||
// Do we already have a stack of it?
|
||||
|
Reference in New Issue
Block a user