diff --git a/src/main/java/icu/puqns67/skintypefix/util/Utils.java b/src/main/java/icu/puqns67/skintypefix/util/Utils.java index 9052fe8..8d87937 100644 --- a/src/main/java/icu/puqns67/skintypefix/util/Utils.java +++ b/src/main/java/icu/puqns67/skintypefix/util/Utils.java @@ -1,12 +1,11 @@ package icu.puqns67.skintypefix.util; +import net.minecraft.Util; import net.minecraft.client.resources.PlayerSkin; import java.util.UUID; public class Utils { - private static final UUID INVALID_UUID = new UUID(0, 0); - public static PlayerSkin.Model reverseModelType(PlayerSkin.Model type) { return switch (type) { case SLIM -> PlayerSkin.Model.WIDE; @@ -15,6 +14,6 @@ public class Utils { } public static boolean isInvalidUUID(UUID uuid) { - return INVALID_UUID.equals(uuid); + return Util.NIL_UUID.equals(uuid); } }