From 73d94e99e49ac868e3f84d7c7061fba7241af79d Mon Sep 17 00:00:00 2001 From: Andre601 Date: Mon, 3 Apr 2023 21:26:09 +0200 Subject: [PATCH] Fix length check --- .../advancedserverlist/hangaruploader/HangarUploader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hangar-uploader/src/main/java/ch/andre601/advancedserverlist/hangaruploader/HangarUploader.java b/hangar-uploader/src/main/java/ch/andre601/advancedserverlist/hangaruploader/HangarUploader.java index d4609365..fd5201a3 100644 --- a/hangar-uploader/src/main/java/ch/andre601/advancedserverlist/hangaruploader/HangarUploader.java +++ b/hangar-uploader/src/main/java/ch/andre601/advancedserverlist/hangaruploader/HangarUploader.java @@ -68,7 +68,7 @@ public static void main(String[] args) throws IOException{ LOGGER.info("Starting Jar file..."); final VersionUpload.Namespace project = new VersionUpload.Namespace("Andre_601", "AdvancedServerList"); - if(args.length < 4){ + if(args.length < 3){ throw new IllegalStateException("Application requires HANGAR_TOKEN, RELEASE_TAG, PRERELEASE and RELEASE_BODY to work"); }