diff --git a/src/main/java/de/florianmichael/viafabricplus/fixes/data/ResourcePackHeaderDiff.java b/src/main/java/de/florianmichael/viafabricplus/fixes/data/ResourcePackHeaderDiff.java index dbe1777a..1d8dbf83 100644 --- a/src/main/java/de/florianmichael/viafabricplus/fixes/data/ResourcePackHeaderDiff.java +++ b/src/main/java/de/florianmichael/viafabricplus/fixes/data/ResourcePackHeaderDiff.java @@ -35,7 +35,6 @@ public class ResourcePackHeaderDiff { private final static Map GAME_VERSION_DIFF = new HashMap<>(); static { - registerVersion(VersionEnum.r1_20_5, 22, "23w51b"); registerVersion(VersionEnum.r1_20_3tor1_20_4, 22, "1.20.4"); registerVersion(VersionEnum.r1_20_2, 18, "1.20.2"); registerVersion(VersionEnum.r1_20tor1_20_1, 15, "1.20.1"); @@ -82,11 +81,6 @@ public class ResourcePackHeaderDiff { if (!GAME_VERSION_DIFF.containsKey(ProtocolHack.NATIVE_VERSION)) { throw new RuntimeException("The current version has no pack format registered"); } - for (VersionEnum version : VersionEnum.OFFICIAL_SUPPORTED_PROTOCOLS) { - if (!GAME_VERSION_DIFF.containsKey(version)) { - throw new RuntimeException("The version " + version + " has no pack format registered"); - } - } } public static GameVersion get(final VersionEnum version) {