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

Commit

Permalink
fix: item vault combined slotted storage (Fabricators-of-Create#1156)
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-90 authored Dec 8, 2023
1 parent c040d1c commit c1ba622
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 c1ba622

Please sign in to comment.