From c1ba62240fb817820ade654b30d7157949c94fea Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 8 Dec 2023 18:59:58 +0100 Subject: [PATCH] fix: item vault combined slotted storage (#1156) --- .../create/content/logistics/vault/ItemVaultBlockEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/simibubi/create/content/logistics/vault/ItemVaultBlockEntity.java b/src/main/java/com/simibubi/create/content/logistics/vault/ItemVaultBlockEntity.java index 5a25466628..817f8b1b20 100644 --- a/src/main/java/com/simibubi/create/content/logistics/vault/ItemVaultBlockEntity.java +++ b/src/main/java/com/simibubi/create/content/logistics/vault/ItemVaultBlockEntity.java @@ -13,7 +13,7 @@ import io.github.fabricators_of_create.porting_lib.transfer.item.ItemStackHandler; import net.fabricmc.fabric.api.transfer.v1.item.ItemVariant; import net.fabricmc.fabric.api.transfer.v1.storage.Storage; -import net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage; +import net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedSlottedStorage; import net.fabricmc.fabric.api.transfer.v1.storage.base.SidedStorageBlockEntity; import net.minecraft.core.BlockPos; import net.minecraft.core.Direction; @@ -265,7 +265,7 @@ private void initCapability() { } } - CombinedStorage combinedInvWrapper = new CombinedStorage<>(List.of(invs)); + CombinedSlottedStorage combinedInvWrapper = new CombinedSlottedStorage<>(List.of(invs)); itemCapability = combinedInvWrapper; }