Skip to content

Commit

Permalink
Update src/main/java/de/hysky/skyblocker/skyblock/profileviewer/inven…
Browse files Browse the repository at this point in the history
…tory/itemLoaders/WardrobeInventoryItemLoader.java

Co-authored-by: Kevin <92656833+kevinthegreat1@users.noreply.github.com>
  • Loading branch information
BigloBot and kevinthegreat1 authored Jul 31, 2024
1 parent a2a77a0 commit 442f786
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public List<ItemStack> loadItems(JsonObject data) {
if (activeSlot != -1) {
List<ItemStack> activeArmour = super.loadItems(activeArmorSet).reversed();
for (int i = 0; i < 4; i++) {
int baseIndex = (activeSlot -1) % 9;
int baseIndex = (activeSlot - 1) % 9;
int page = (activeSlot - 1) / 9;
int slotIndex = (page * 36) + (i * 9) + baseIndex;
itemList.set(slotIndex, activeArmour.get(i));
Expand Down

0 comments on commit 442f786

Please sign in to comment.