Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAHuman-xD authored Mar 5, 2024
1 parent 5e24032 commit 9fd1476
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ public Transformation getTransformation() {
}

public Transformation getTransformation(boolean itemDisplay) {
// 1.20 added 180 degrees to item display rotation, let's account for this
// In 1.20+ the y axis of item displays are rotated by 180°
// This corrects the visuals by rotating again
if (itemDisplay && Utils.getMajorServerVersion() >= 20) {
return new Transformation(transformation.getTranslation(),
transformation.getLeftRotation(),
Expand Down

0 comments on commit 9fd1476

Please sign in to comment.