From 25c9ad9b0c9c8015015cb45e81be58f30f6fa12b Mon Sep 17 00:00:00 2001 From: Up Date: Sun, 18 Aug 2024 23:53:43 +0200 Subject: [PATCH] NG deprecations --- NeoForge/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NeoForge/build.gradle b/NeoForge/build.gradle index 11a9721..b3dc77e 100644 --- a/NeoForge/build.gradle +++ b/NeoForge/build.gradle @@ -84,20 +84,20 @@ runs { client { if (rootProject.hasProperty('mc_uuid')) { - programArguments.addAll("--uuid", rootProject.mc_uuid) + arguments.addAll("--uuid", rootProject.mc_uuid) } if (rootProject.hasProperty('mc_username')) { - programArguments.addAll("--username", rootProject.mc_username) + arguments.addAll("--username", rootProject.mc_username) } } server { - programArgument '--nogui' + arguments.add('--nogui') } data { - programArguments.addAll('--mod', mod_id, '--all', '--output', file('src/generated/resources/').absolutePath, '--existing', file('src/main/resources/').absolutePath) + arguments.addAll('--mod', mod_id, '--all', '--output', file('src/generated/resources/').absolutePath, '--existing', file('src/main/resources/').absolutePath) } }