diff --git a/Essentials/src/main/java/com/earth2me/essentials/items/AbstractItemDb.java b/Essentials/src/main/java/com/earth2me/essentials/items/AbstractItemDb.java index e20034a0c..e219bf3b1 100644 --- a/Essentials/src/main/java/com/earth2me/essentials/items/AbstractItemDb.java +++ b/Essentials/src/main/java/com/earth2me/essentials/items/AbstractItemDb.java @@ -160,7 +160,7 @@ public abstract class AbstractItemDb implements IConf, net.ess3.api.IItemDb { } } else if (args[0].equalsIgnoreCase("blocks")) { for (final ItemStack stack : user.getBase().getInventory().getContents()) { - if (stack == null || stack.getType() == Material.AIR) { + if (stack == null || stack.getType() == Material.AIR || !stack.getType().isBlock()) { continue; } is.add(stack.clone());