diff options
author | snowleo <schneeleo@gmail.com> | 2011-06-12 22:57:43 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-06-12 22:57:43 +0200 |
commit | 631c7f30b628ce1d1e32deb723e4c241d13e806d (patch) | |
tree | b17078a1f30ef862ae6196b587e8562ace509846 | |
parent | 46cba7a9a7dce806bdbee1505e73da9aa0e6f851 (diff) | |
download | Essentials-631c7f30b628ce1d1e32deb723e4c241d13e806d.tar Essentials-631c7f30b628ce1d1e32deb723e4c241d13e806d.tar.gz Essentials-631c7f30b628ce1d1e32deb723e4c241d13e806d.tar.lz Essentials-631c7f30b628ce1d1e32deb723e4c241d13e806d.tar.xz Essentials-631c7f30b628ce1d1e32deb723e4c241d13e806d.zip |
Workaround methods are static
-rw-r--r-- | Essentials/src/com/earth2me/essentials/InventoryWorkaround.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/InventoryWorkaround.java b/Essentials/src/com/earth2me/essentials/InventoryWorkaround.java index c9b513c15..9ac63c374 100644 --- a/Essentials/src/com/earth2me/essentials/InventoryWorkaround.java +++ b/Essentials/src/com/earth2me/essentials/InventoryWorkaround.java @@ -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>(); |