From 43a1d4c9bd4ae20cc365c2e07581155956f979b0 Mon Sep 17 00:00:00 2001 From: Redempt Date: Tue, 11 Jan 2022 13:34:19 -0500 Subject: [PATCH] Fix space counting for post-argument subcommands - Post-argument subcommands can now be run with parent arguments that are quoted with multiple spaces --- build.gradle | 33 +-------------------------------- res/plugin.yml | 2 +- 2 files changed, 2 insertions(+), 33 deletions(-) diff --git a/build.gradle b/build.gradle index 4a661a0..69ceed7 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ repositories { } dependencies { compileOnly 'org.spigotmc:spigot-api:1.17.1-R0.1-SNAPSHOT' - api 'com.github.Redempt:RedCommands:1.5.4' + api 'com.github.Redempt:RedCommands:1.5.5' } sourceSets { main { @@ -26,34 +26,6 @@ sourceSets { } } } -task updateJars { - doLast { - copy { - from 'build/libs' - into '/home/redempt/Desktop/Spigot/1.8/plugins' - } - copy { - from 'build/libs' - into '/home/redempt/Desktop/Spigot/1.12/plugins' - } - copy { - from 'build/libs' - into '/home/redempt/Desktop/Spigot/1.13/plugins' - } - copy { - from 'build/libs' - into '/home/redempt/Desktop/Spigot/1.16/plugins' - } - copy { - from 'build/libs' - into '/home/redempt/Desktop/Spigot/1.17/plugins' - } - copy { - from 'build/libs' - into '/home/redempt/Desktop/Spigot/1.18/plugins' - } - } -} jar.configure { actions.clear() @@ -87,6 +59,3 @@ publishing { } } -task deploy(dependsOn: ['jar', 'updateJars']) { - updateJars.mustRunAfter shadowJar -} diff --git a/res/plugin.yml b/res/plugin.yml index aba046f..14284eb 100755 --- a/res/plugin.yml +++ b/res/plugin.yml @@ -1,6 +1,6 @@ name: RedLib main: redempt.redlib.RedLib -version: 2021-12-23 22:17 +version: 2022-01-11 18:34 author: Redempt api-version: 1.13 load: STARTUP