summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2011-10-26 03:32:38 +0100
committerKHobbits <rob@khobbits.co.uk>2011-10-26 03:32:38 +0100
commit2bb45022d62e53c2aea08540cc3e8c39f28bf8e2 (patch)
tree5678d89fd5bb430e4547952b0ecb4fe36eeced31
parentdc2e23c85ae9647519938602a59328ddb12ac9dd (diff)
downloadEssentials-2bb45022d62e53c2aea08540cc3e8c39f28bf8e2.tar
Essentials-2bb45022d62e53c2aea08540cc3e8c39f28bf8e2.tar.gz
Essentials-2bb45022d62e53c2aea08540cc3e8c39f28bf8e2.tar.lz
Essentials-2bb45022d62e53c2aea08540cc3e8c39f28bf8e2.tar.xz
Essentials-2bb45022d62e53c2aea08540cc3e8c39f28bf8e2.zip
Extra triggers for /sell inventory
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandsell.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsell.java b/Essentials/src/com/earth2me/essentials/commands/Commandsell.java
index d0b996917..a8ef83dc0 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandsell.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandsell.java
@@ -29,7 +29,7 @@ public class Commandsell extends EssentialsCommand
{
is = user.getItemInHand();
}
- else if (args[0].equalsIgnoreCase("inventory"))
+ else if (args[0].equalsIgnoreCase("inventory") || args[0].equalsIgnoreCase("invent") || args[0].equalsIgnoreCase("all"))
{
for (ItemStack stack : user.getInventory().getContents())
{