v0.2.4: corrected some quickslot errors

This commit is contained in:
Evan Debenham
2015-02-10 16:44:29 -05:00
parent 0ab5b8d18d
commit 0d78119ab7
2 changed files with 7 additions and 11 deletions
@@ -54,6 +54,10 @@ public class QuickSlot {
return getItem(slot) != null && getItem(slot).quantity() == 0;
}
public Boolean isNonePlaceholder(int slot){
return getItem(slot) != null && getItem(slot).quantity() > 0;
}
public void clearItem(Item item){
if (contains(item))
clearSlot(getSlot(item));