diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java b/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java index 070e74c44..5f521fa25 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java @@ -126,6 +126,11 @@ public class Commandclearinventory extends EssentialsCommand { player.getInventory().clear(); } + else if (arg.equalsIgnoreCase("**")) + { + player.getInventory().clear(); + player.getInventory().setArmorContents(null); + } else { final String[] split = arg.split(":");