mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-09 17:02:23 +01:00
Extra triggers for /sell inventory
This commit is contained in:
parent
dc2e23c85a
commit
2bb45022d6
@ -29,7 +29,7 @@ public class Commandsell extends EssentialsCommand
|
|||||||
{
|
{
|
||||||
is = user.getItemInHand();
|
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())
|
for (ItemStack stack : user.getInventory().getContents())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user