mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-15 21:39:21 +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 = Bukkit.getServer().createInventory(null, inventory.getType());
|
||||||
fakeInventory.setContents(contents);
|
fakeInventory.setContents(contents);
|
||||||
}
|
}
|
||||||
Map<Integer, ItemStack> overFlow = addItems(fakeInventory, items);
|
Map<Integer, ItemStack> overflow = addItems(fakeInventory, items);
|
||||||
if (overFlow.isEmpty()) {
|
if (overflow.isEmpty()) {
|
||||||
addItems(inventory, items);
|
addItems(inventory, items);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue