diff --git a/src/main/java/com/sk89q/worldguard/bukkit/commands/GeneralCommands.java b/src/main/java/com/sk89q/worldguard/bukkit/commands/GeneralCommands.java index 7ab41e52..b9f16c36 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/commands/GeneralCommands.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/commands/GeneralCommands.java @@ -275,7 +275,9 @@ public void stack(CommandContext args, CommandSender sender) throws CommandExcep if (item2.getTypeId() == item.getTypeId() && ((!ItemType.usesDamageValue(item.getTypeId()) && ignoreDamaged) || item.getDurability() == item2.getDurability()) && - item.getEnchantments().equals(item2.getEnchantments())) { + ((item.getItemMeta() == null && item2.getItemMeta() == null) + || (item.getItemMeta() != null && + item.getItemMeta().equals(item2.getItemMeta())))) { // This stack won't fit in the parent stack if (item2.getAmount() > needed) { item.setAmount(max);