Formatting

This commit is contained in:
vemacs 2016-03-06 11:14:08 -07:00
parent 73ad945101
commit 6d347881b7

View File

@ -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;
}