Reduce create random instance (#31)

This commit is contained in:
Alpha
2023-03-25 20:20:29 +09:00
committed by GitHub
parent c02562ca46
commit 9032eb1b20
4 changed files with 246 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ index 1a288ebcaade0cc44c7d09478f4f2f8eee7a4269..916b42ffaf5d60aebc0cc3f3c0ee37bd
this.server.logChatMessage((unsignedFunction == null ? message.decoratedContent() : unsignedFunction.apply(this.server.console)), params, flag ? null : "Not Secure"); // Paper
OutgoingChatMessage outgoingchatmessage = OutgoingChatMessage.create(message);
diff --git a/src/main/java/org/plazmamc/plazma/configurations/GlobalConfiguration.java b/src/main/java/org/plazmamc/plazma/configurations/GlobalConfiguration.java
index bb64e51eb20dc72661a6d84545361530dbd0fc3e..c408e9ccee77022c5d2172252e62c5c75c853610 100644
index bb64e51eb20dc72661a6d84545361530dbd0fc3e..5dcc234f189dfc86b1585c1eaa6335949d3b53d6 100644
--- a/src/main/java/org/plazmamc/plazma/configurations/GlobalConfiguration.java
+++ b/src/main/java/org/plazmamc/plazma/configurations/GlobalConfiguration.java
@@ -23,6 +23,9 @@ public class GlobalConfiguration extends ConfigurationPart {
@@ -95,7 +95,7 @@ index bb64e51eb20dc72661a6d84545361530dbd0fc3e..c408e9ccee77022c5d2172252e62c5c7
+ public boolean enableOfflineWarnings = true;
+ public boolean enableRootUserWarnings = true;
+ public boolean enableSecureChatMarker = Boolean.getBoolean("plazma.disableAutoOptimizeConfigurations");
+ public boolean enableSecureChatMarker = Boolean.getBoolean("Plazma.disableConfigOptimization");
}
}