chore: some small improvements
This commit is contained in:
parent
4c3cccde87
commit
3f191d7c30
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user