Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 16:12:42 +01:00
Don't format if no args are given
Dieser Commit ist enthalten in:
Ursprung
2e3677a592
Commit
8c706b665c
@ -147,6 +147,6 @@ public class ViaCommandHandler implements ViaVersionCommand, CommandExecutor, Ta
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void sendMessage(@NonNull CommandSender sender, String message, Object... args) {
|
public static void sendMessage(@NonNull CommandSender sender, String message, Object... args) {
|
||||||
sender.sendMessage(color(String.format(message, args)));
|
sender.sendMessage(color(args == null ? message : String.format(message, args)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren