1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-01 12:20:59 +02:00

Extra triggers for /sell inventory

This commit is contained in:
KHobbits
2011-10-26 03:32:38 +01:00
parent 8b913691d6
commit eaad3f0350

View File

@@ -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())
{