From 95bead5fffa4ae5c10efaa5eeb86b68cb163a962 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Tue, 15 Oct 2024 14:41:59 +0100 Subject: [PATCH] Fix tests --- .../fabric/impl/transfer/item/BundleContentsStorage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/item/BundleContentsStorage.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/item/BundleContentsStorage.java index 6d4999e1d7..58bdf665cb 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/item/BundleContentsStorage.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/item/BundleContentsStorage.java @@ -64,7 +64,7 @@ public long insert(ItemVariant resource, long maxAmount, TransactionContext tran ItemStack stack = resource.toStack((int) maxAmount); - if (!stack.isEmpty() || !stack.getItem().canBeNested()) return 0; + if (stack.isEmpty() || !stack.getItem().canBeNested()) return 0; var builder = new BundleContentsComponent.Builder(bundleContents());