Skip to content

Commit

Permalink
rename to general utils
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAHuman-xD committed Mar 5, 2024
1 parent 9fd1476 commit 791ccf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import org.bukkit.Bukkit;

public class Utils {
public class GeneralUtils {

private Utils() {
private GeneralUtils() {
throw new IllegalStateException("Utility class");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public Transformation getTransformation() {
public Transformation getTransformation(boolean itemDisplay) {
// 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) {
if (itemDisplay && GeneralUtils.getMajorServerVersion() >= 20) {
return new Transformation(transformation.getTranslation(),
transformation.getLeftRotation(),
transformation.getScale(),
Expand Down

0 comments on commit 791ccf3

Please sign in to comment.