mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-07 19:40:23 +01:00
Formatting
This commit is contained in:
parent
73ad945101
commit
6d347881b7
@ -60,8 +60,8 @@ public final class InventoryWorkaround {
|
||||
fakeInventory = Bukkit.getServer().createInventory(null, inventory.getType());
|
||||
fakeInventory.setContents(contents);
|
||||
}
|
||||
Map<Integer, ItemStack> overFlow = addItems(fakeInventory, items);
|
||||
if (overFlow.isEmpty()) {
|
||||
Map<Integer, ItemStack> overflow = addItems(fakeInventory, items);
|
||||
if (overflow.isEmpty()) {
|
||||
addItems(inventory, items);
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user