Revert version bump in ResourcePackHeaderDiff since we never add clientside fixes for backwards protocols

I don't plan on making ports for snapshot protocols but only for releases, so it doesn't make sense to randomly update the ResourcePackHeaderDiff but not all the other clientside fixes and data dumps
This commit is contained in:
FlorianMichael 2023-12-27 22:16:13 +01:00
parent 49ec4638a8
commit c5d9db05be
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -35,7 +35,6 @@ public class ResourcePackHeaderDiff {
private final static Map<VersionEnum, GameVersion> 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) {