diff --git a/build.gradle b/build.gradle index 8157c83..b79bdf1 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { } group "de.randombyte" -version "1.3" +version "1.5" repositories { jcenter() diff --git a/src/main/kotlin/de/randombyte/commandutils/CommandUtils.kt b/src/main/kotlin/de/randombyte/commandutils/CommandUtils.kt index c202c56..317303a 100644 --- a/src/main/kotlin/de/randombyte/commandutils/CommandUtils.kt +++ b/src/main/kotlin/de/randombyte/commandutils/CommandUtils.kt @@ -43,7 +43,7 @@ class CommandUtils @Inject constructor( companion object { const val ID = "command-utils" const val NAME = "CommandUtils" - const val VERSION = "1.4" + const val VERSION = "1.5" const val AUTHOR = "RandomByte" const val ROOT_PERMISSION = ID diff --git a/src/main/kotlin/de/randombyte/commandutils/alias/CommandListener.kt b/src/main/kotlin/de/randombyte/commandutils/alias/CommandListener.kt index 6b982bb..d348da6 100644 --- a/src/main/kotlin/de/randombyte/commandutils/alias/CommandListener.kt +++ b/src/main/kotlin/de/randombyte/commandutils/alias/CommandListener.kt @@ -46,5 +46,5 @@ class CommandListener( } private val SendCommandEvent.wholeCommand: String - get() = "$command $arguments" + get() = "$command $arguments".trim() } \ No newline at end of file