Skip to content

Commit

Permalink
One last change
Browse files Browse the repository at this point in the history
  • Loading branch information
Asleeepp authored and Moderocky committed Jul 1, 2024
1 parent b4d9ffa commit 96edf65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/ch/njol/skript/SkriptCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
import java.util.Set;
import java.util.stream.Collectors;

import static ch.njol.skript.localization.PluralizingArgsMessage.format;

public class SkriptCommand implements CommandExecutor {

Expand Down Expand Up @@ -110,7 +109,7 @@ private static void reloading(CommandSender sender, String what, RedirectingLogH
private static final ArgsMessage m_reload_error = new ArgsMessage(CONFIG_NODE + ".reload.error");

private static void reloaded(CommandSender sender, RedirectingLogHandler logHandler, TimingLogHandler timingLogHandler, String what, Object... args) {
what = args.length == 0 ? Language.get(CONFIG_NODE + ".reload." + what) : format(Language.format(CONFIG_NODE + ".reload." + what, args));
what = args.length == 0 ? Language.get(CONFIG_NODE + ".reload." + what) : PluralizingArgsMessage.format(Language.format(CONFIG_NODE + ".reload." + what, args));
String timeTaken = String.valueOf(timingLogHandler.getTimeTaken());

String message;
Expand Down

0 comments on commit 96edf65

Please sign in to comment.