mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-14 04:01:59 +01:00
Workaround methods are static
This commit is contained in:
parent
46cba7a9a7
commit
631c7f30b6
@ -43,7 +43,7 @@ public final class InventoryWorkaround
|
||||
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)
|
||||
{
|
||||
@ -65,7 +65,7 @@ public final class InventoryWorkaround
|
||||
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>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user