commands will now be case insensitive

add TODO.txt
This commit is contained in:
LordMZTE 2020-07-29 19:29:52 +02:00
parent 4cca46365f
commit f7df31ceac
2 changed files with 2 additions and 1 deletions

1
TODO.txt Normal file
View File

@ -0,0 +1 @@
add commands for adding mods

View File

@ -57,7 +57,7 @@ fun runCommand(args: Array<out String>) {
println(helpMessage)
} else {
try {
val ret = LOADER.runCommand(args[0], args)
val ret = LOADER.runCommand(args[0].toLowerCase(), args)
if(ret.hasRet())
println(ret.ret)
} catch(e: NoSuchElementException) {