mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2024-11-14 10:15:38 +01:00
Fix for commands having a space after '+' like ' - ++ weather'
This commit is contained in:
parent
dda1c6fb0a
commit
51cd582045
@ -21,6 +21,9 @@ public interface StringParser {
|
|||||||
plus = 1;
|
plus = 1;
|
||||||
line = line.substring(1);
|
line = line.substring(1);
|
||||||
}
|
}
|
||||||
|
if (line.startsWith(" ")) {
|
||||||
|
line = line.substring(1);
|
||||||
|
}
|
||||||
if (line.startsWith("/")) {
|
if (line.startsWith("/")) {
|
||||||
line = line.substring(1);
|
line = line.substring(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user