mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 19:15:44 +00:00
Workaround methods are static
This commit is contained in:
parent
46cba7a9a7
commit
631c7f30b6
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ public final class InventoryWorkaround
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int firstPartial(final Inventory cinventory, final ItemStack item, final boolean forceDurability)
|
public static int firstPartial(final Inventory cinventory, final ItemStack item, final boolean forceDurability)
|
||||||
{
|
{
|
||||||
if (item == null)
|
if (item == null)
|
||||||
{
|
{
|
||||||
|
@ -65,7 +65,7 @@ public final class InventoryWorkaround
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<Integer, ItemStack> addItem(final Inventory cinventory, final boolean forceDurability, final ItemStack... items)
|
public static Map<Integer, ItemStack> addItem(final Inventory cinventory, final boolean forceDurability, final ItemStack... items)
|
||||||
{
|
{
|
||||||
final Map<Integer, ItemStack> leftover = new HashMap<Integer, ItemStack>();
|
final Map<Integer, ItemStack> leftover = new HashMap<Integer, ItemStack>();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue