From c4afe88260078d2720ca9f52f016b3a9abad3f86 Mon Sep 17 00:00:00 2001 From: Jakllp <57708725+Jakllp@users.noreply.github.com> Date: Sun, 29 Dec 2024 12:29:31 +0100 Subject: [PATCH] Fix snowman on 1.20.6+ --- .../src/main/java/de/Keyle/MyPet/api/entity/MyPetType.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/API/src/main/java/de/Keyle/MyPet/api/entity/MyPetType.java b/modules/API/src/main/java/de/Keyle/MyPet/api/entity/MyPetType.java index d626f4c2b..75237f754 100644 --- a/modules/API/src/main/java/de/Keyle/MyPet/api/entity/MyPetType.java +++ b/modules/API/src/main/java/de/Keyle/MyPet/api/entity/MyPetType.java @@ -243,7 +243,9 @@ public enum MyPetType { Sniffer("SNIFFER", "1.20", MySniffer.class, new Compat<>() .v("1.20", "sniffer") .search()), - Snowman("SNOWMAN", "1.7.10", MySnowman.class, new Compat<>() + Snowman((String) new Compat<>().v("1.7.10","SNOWMAN") + .v("1.20.6","SNOW_GOLEM").search().get(), + "1.7.10", MySnowman.class, new Compat<>() .v("1.7.10", 97) .v("1.13", "snow_golem") .search()),