From 2bb45022d62e53c2aea08540cc3e8c39f28bf8e2 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Wed, 26 Oct 2011 03:32:38 +0100 Subject: [PATCH] Extra triggers for /sell inventory --- .../src/com/earth2me/essentials/commands/Commandsell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {