Removed debug prints

This commit is contained in:
FlorianMichael 2023-09-22 20:03:31 +02:00
parent 9a26ac9782
commit 64adbb1330
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -82,9 +82,10 @@ public class PackFormatsMappings {
}
final GameVersion gameVersion = protocolMap.get(nativeVersion);
System.out.println(SharedConstants.getGameVersion().getName() + " " + gameVersion.getName());
System.out.println(SharedConstants.getGameVersion().getId() + " " + gameVersion.getId());
if (!gameVersion.getName().equals(SharedConstants.getGameVersion().getName()) || !gameVersion.getId().equals(SharedConstants.getGameVersion().getId()) || gameVersion.getResourceVersion(ResourceType.CLIENT_RESOURCES) != SharedConstants.getGameVersion().getResourceVersion(ResourceType.CLIENT_RESOURCES)) {
System.out.println("Vanilla: " + SharedConstants.getGameVersion().getName() + " , VFP: " + gameVersion.getName());
System.out.println("Vanilla: " + SharedConstants.getGameVersion().getId() + " , VFP: " + gameVersion.getId());
throw new RuntimeException("The current version has no pack format registered");
}
}