forked from ChomeNS/chomens-bot-java
clear chad ..
This commit is contained in:
parent
94f5524c32
commit
eb8676d969
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public class ClearChatCommand extends Command {
|
|||
|
||||
final String name = context.getString(true, false);
|
||||
|
||||
if (name.isEmpty()) {
|
||||
if (!name.isEmpty()) {
|
||||
final PlayerEntry entry = bot.players.getEntry(name);
|
||||
|
||||
if (entry == null) throw new CommandException(Component.text("Invalid player name"));
|
||||
|
|
Loading…
Reference in a new issue