From 64a972779bcbf6e069ab84bdc4f41b5543714b51 Mon Sep 17 00:00:00 2001 From: Gio <34938366+giomxx@users.noreply.github.com> Date: Wed, 5 Jun 2024 22:43:34 +0100 Subject: [PATCH] fix paper version detection in prompt.py --- java/prompt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/prompt.py b/java/prompt.py index 5b3e1c3..2574caa 100644 --- a/java/prompt.py +++ b/java/prompt.py @@ -84,7 +84,7 @@ def getPaperRecommendedVersion(zip): splitted = list(map(int, version.split("."))) major, minor = [splitted[0], splitted[1]] - if major >= 1 and minor >= 21: + if major >= 1 and minor >= 20: return "Java 21" if major >= 1 and minor >= 17: return "Java 17"