9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-19 14:59:32 +00:00

fix: stupid me (#689)

This commit is contained in:
MC_XiaoHei
2025-08-14 20:41:20 +08:00
committed by GitHub
parent a591ec57ee
commit 3623aea89c

View File

@@ -52,7 +52,7 @@ public class NewInputSlotCrafter<T extends AbstractContainerMenu> extends InputS
for (SlotAccessor slot : getInputSlots()) {
org.bukkit.inventory.ItemStack bukkitStack = slot.getItemStack().getBukkitStack();
if (bukkitStack.getType().isAir()) {
return;
continue;
}
HashMap<Integer, org.bukkit.inventory.ItemStack> notAdded = player.getBukkitEntity().getInventory().addItem(bukkitStack);
if (notAdded.isEmpty()) {