Fix for commands having a space after '+' like ' - ++ weather'

This commit is contained in:
Sebi 2020-05-08 16:21:16 +02:00
parent dda1c6fb0a
commit 51cd582045

View File

@ -21,6 +21,9 @@ public interface StringParser {
plus = 1;
line = line.substring(1);
}
if (line.startsWith(" ")) {
line = line.substring(1);
}
if (line.startsWith("/")) {
line = line.substring(1);
}