mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-09-28 04:27:25 +02:00
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:
parent
49ec4638a8
commit
c5d9db05be
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user