diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsell.java b/Essentials/src/com/earth2me/essentials/commands/Commandsell.java index faf8e945f..d651c882f 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandsell.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandsell.java @@ -47,6 +47,9 @@ public class Commandsell extends EssentialsCommand int max = 0; for (ItemStack s : user.getInventory().getContents()) { + if (s == null) { + continue; + } if (s.getTypeId() != is.getTypeId()) { continue; }