clear chad ..

This commit is contained in:
Chayapak 2023-09-24 15:32:57 +07:00
parent 94f5524c32
commit eb8676d969

View file

@ -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"));