Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #16 from Fabricators-of-Create/mc1.20.1/fabric/dev
Browse files Browse the repository at this point in the history
fix: item vault combined slotted storage (Upstream#1156)
  • Loading branch information
TexBlock authored Dec 19, 2023
2 parents 09a1e94 + c1ba622 commit b473833
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -265,7 +265,7 @@ private void initCapability() {
}
}

CombinedStorage<ItemVariant, ItemStackHandler> combinedInvWrapper = new CombinedStorage<>(List.of(invs));
CombinedSlottedStorage<ItemVariant, ItemStackHandler> combinedInvWrapper = new CombinedSlottedStorage<>(List.of(invs));
itemCapability = combinedInvWrapper;
}

Expand Down

0 comments on commit b473833

Please sign in to comment.