diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BackpackListener.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BackpackListener.java index 6107a9ad10..77bbd088ee 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BackpackListener.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BackpackListener.java @@ -160,6 +160,10 @@ private void openBackpack(Player p, ItemStack item, PlayerProfile profile, int s Slimefun.getLocalization().sendMessage(p, "backpack.not-original-item", true); return; } + if (item.getAmount() > 1) { + Slimefun.getLocalization().sendMessage(p, "backpack.no-stack", true); + return; + } PlayerBackpack.bindItem( item, Slimefun.getDatabaseManager()