Skip to content

Commit

Permalink
fix Player being slightly off-center
Browse files Browse the repository at this point in the history
  • Loading branch information
Mari023 committed Jun 30, 2024
1 parent e13ebd9 commit da10962
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public PlayerEntityWidget(LivingEntity entity) {

@Override
public void renderWidget(GuiGraphics guiGraphics, int mouseX, int mouseY, float f) {
InventoryScreen.renderEntityInInventoryFollowsMouse(guiGraphics, getX(), getY(), getX() + 75 - 26,
InventoryScreen.renderEntityInInventoryFollowsMouse(guiGraphics, getX(), getY(), getX() + 75 - 26 - 3,
getY() + 78 - 8, 30, 0.0625F,
mouseX,
mouseY, entity);
Expand Down

0 comments on commit da10962

Please sign in to comment.