forked from ChomeNS/chomens-bot-java
actually check if the style is empty
i forgor to check it.,.
This commit is contained in:
parent
309d2dd9a7
commit
b65a4063c9
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ public class CommandSpyParser implements ChatParser {
|
||||||
if (
|
if (
|
||||||
(
|
(
|
||||||
message.color() != NamedTextColor.AQUA ||
|
message.color() != NamedTextColor.AQUA ||
|
||||||
message.color() != NamedTextColor.YELLOW
|
message.color() != NamedTextColor.YELLOW ||
|
||||||
|
message.style().isEmpty()
|
||||||
) &&
|
) &&
|
||||||
children.size() < 2
|
children.size() < 2
|
||||||
) return null;
|
) return null;
|
||||||
|
|
Loading…
Reference in a new issue