Akarin ports

This commit is contained in:
AlphaKR93
2025-02-23 22:25:29 +09:00
parent fb72bc56c3
commit 14403ebab9
27 changed files with 575 additions and 304 deletions

View File

@@ -696,3 +696,12 @@
bufferedWriter.write(string);
bufferedWriter.write("\n");
}
@@ -2768,7 +_,7 @@
public void logChatMessage(Component content, ChatType.Bound boundChatType, @Nullable String header) {
// Paper start
net.kyori.adventure.text.Component string = io.papermc.paper.adventure.PaperAdventure.asAdventure(boundChatType.decorate(content));
- if (header != null) {
+ if (org.plazmamc.plazma.Options.global().consoleLogs.notSecurePrefix && header != null) {
COMPONENT_LOGGER.info("[{}] {}", header, string);
} else {
COMPONENT_LOGGER.info("{}", string);