Akarin ports
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user