Fixed hundreds of small issues, code improvements, typos, ...
This commit is contained in:
@@ -66,7 +66,7 @@ public class CLI extends Thread {
|
||||
String line;
|
||||
try {
|
||||
while((line = reader.readLine()) != null) {
|
||||
if (line.trim().equals(""))
|
||||
if (line.trim().isEmpty())
|
||||
continue;
|
||||
String cmdLine = line;
|
||||
new Thread(() -> CLIBrigadierDispatcher.instance.execute(cmdLine), "CLICmdThread #"+(i++)).start();
|
||||
|
Reference in New Issue
Block a user