Skip to content

Commit

Permalink
Fixed Extra Slots not being accessible externally, closes #39
Browse files Browse the repository at this point in the history
  • Loading branch information
Buuz135 committed Jan 14, 2024
1 parent eda11b1 commit 3c88a2c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public RollerTile(BlockPos pos, BlockState state) {
return false;
})
);
addInventory(spices);
FoodAPI.get().getTypeFromName(this.selected).ifPresent(iFoodType -> {
for (int slot = 0; slot < slots.getSlots(); slot++) {
slots.setSlotToItemStackRender(slot, iFoodType.getSlotStackRender().apply(slot));
Expand Down

0 comments on commit 3c88a2c

Please sign in to comment.