mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-08 09:51:27 +01:00
[POST] remove sanity check because VFP supports to load on multiple versions at the moment
This commit is contained in:
parent
35601295cc
commit
b7612bf808
@ -81,12 +81,6 @@ public class ResourcePackHeaderDiff {
|
||||
if (!GAME_VERSION_DIFF.containsKey(ProtocolHack.NATIVE_VERSION)) {
|
||||
throw new RuntimeException("The current version has no pack format registered");
|
||||
}
|
||||
|
||||
final GameVersion gameVersion = GAME_VERSION_DIFF.get(ProtocolHack.NATIVE_VERSION);
|
||||
if (!gameVersion.getName().equals(SharedConstants.getGameVersion().getName()) || !gameVersion.getId().equals(SharedConstants.getGameVersion().getId()) ||
|
||||
gameVersion.getResourceVersion(ResourceType.CLIENT_RESOURCES) != SharedConstants.getGameVersion().getResourceVersion(ResourceType.CLIENT_RESOURCES)) {
|
||||
throw new RuntimeException("The current version is outdated, please update to " + gameVersion.getName() + " (" + gameVersion.getId() + ")");
|
||||
}
|
||||
}
|
||||
|
||||
public static GameVersion get(final VersionEnum version) {
|
||||
|
Loading…
Reference in New Issue
Block a user