From a20a7e987fcc6e2d43a1686a175447495245615c Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Wed, 23 Jun 2021 21:24:25 +0100 Subject: NOISSUE Fail launch if minimum Java requirement is not met This will fail launch in the following conditions: 1. A version greater than or equal to Minecraft 17w13a, and less than 21w19a - and the Java version is less than 8. 2. A version greater than or equal to Minecraft 21w19a - and the Java version is less than 16. --- api/logic/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/logic/CMakeLists.txt') diff --git a/api/logic/CMakeLists.txt b/api/logic/CMakeLists.txt index 17e22458..6d269714 100644 --- a/api/logic/CMakeLists.txt +++ b/api/logic/CMakeLists.txt @@ -246,6 +246,8 @@ set(MINECRAFT_SOURCES minecraft/launch/ReconstructAssets.h minecraft/launch/ScanModFolders.cpp minecraft/launch/ScanModFolders.h + minecraft/launch/VerifyJavaInstall.cpp + minecraft/launch/VerifyJavaInstall.h minecraft/legacy/LegacyModList.h minecraft/legacy/LegacyModList.cpp -- cgit