mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Formatting
This commit is contained in:
parent
73ad945101
commit
6d347881b7
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue