Skip to content

Commit

Permalink
Fix to the pixel math for the active slot. (#20)
Browse files Browse the repository at this point in the history
Bug Fixed :)
  • Loading branch information
Zachary-Concordia authored Apr 12, 2022
1 parent 105f9ec commit b00c3d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public BirdhouseContainer(int windowId, BlockPos position, Inventory playerInven
this.playerInventory = new InvWrapper(playerInventory);
if (blockEntity != null) {
blockEntity.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY).ifPresent(h -> addSlot(
new SlotItemHandler(h, 0, 64, 24)));
new SlotItemHandler(h, 0, 82, 24)));
}
layoutPlayerInventorySlots(10, 70);
}
Expand Down

0 comments on commit b00c3d3

Please sign in to comment.