Skip to content

Commit

Permalink
Fix space counting for post-argument subcommands
Browse files Browse the repository at this point in the history
- Post-argument subcommands can now be run with parent arguments that are quoted with multiple spaces
  • Loading branch information
boxbeam committed Jan 11, 2022
1 parent 6800ae6 commit 43a1d4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 33 deletions.
33 changes: 1 addition & 32 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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()
Expand Down Expand Up @@ -87,6 +59,3 @@ publishing {
}
}

task deploy(dependsOn: ['jar', 'updateJars']) {
updateJars.mustRunAfter shadowJar
}
2 changes: 1 addition & 1 deletion res/plugin.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 43a1d4c

Please sign in to comment.