diff --git a/src/main/java/emu/grasscutter/command/commands/TrialAvatarActivityCommand.java b/src/main/java/emu/grasscutter/command/commands/TrialAvatarActivityCommand.java index d375f490d..46382bf9d 100644 --- a/src/main/java/emu/grasscutter/command/commands/TrialAvatarActivityCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/TrialAvatarActivityCommand.java @@ -131,7 +131,7 @@ public final class TrialAvatarActivityCommand implements CommandHandler { translate( sender, "commands.trialAvatarActivity.success_reward", Integer.parseInt(param))); } else { - if (!param.toLowerCase().equals("all")) { + if (!param.equalsIgnoreCase("all")) { CommandHandler.sendMessage( sender, translate(sender, "commands.trialAvatarActivity.invalid_param")); return;