Skip to content

Commit

Permalink
Cringe ahh 1-indexed list
Browse files Browse the repository at this point in the history
  • Loading branch information
Vazkii committed Jan 6, 2024
1 parent 7162f22 commit eaa8b20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void onTradesLoaded(ZVillagerTrades event) {
}

private void addStoneTrade(ZVillagerTrades event, Block block) {
List<ItemListing> journeymanListing = event.getTrades().get(2);
List<ItemListing> journeymanListing = event.getTrades().get(3);
journeymanListing.add(new VillagerTrades.ItemsForEmeralds(block, 1, 4, 16, 10));
journeymanListing.add(new VillagerTrades.EmeraldForItems(polishedBlocks.get(block), 16, 16, 20));
}
Expand Down

0 comments on commit eaa8b20

Please sign in to comment.