diff options
-rw-r--r-- | common/src/main/java/de/hype/bbsentials/common/client/BBsentials.java | 1 | ||||
-rw-r--r-- | fabric/src/main/java/de/hype/bbsentials/fabric/MCUtils.java | 2 | ||||
-rw-r--r-- | log4j2.xml | 8 |
3 files changed, 7 insertions, 4 deletions
diff --git a/common/src/main/java/de/hype/bbsentials/common/client/BBsentials.java b/common/src/main/java/de/hype/bbsentials/common/client/BBsentials.java index 20fb7ef..262ed8d 100644 --- a/common/src/main/java/de/hype/bbsentials/common/client/BBsentials.java +++ b/common/src/main/java/de/hype/bbsentials/common/client/BBsentials.java @@ -71,7 +71,6 @@ public class BBsentials { public static void init() { config = Config.load(); executionService.scheduleAtFixedRate(EnvironmentCore.debug, 0, 20, TimeUnit.SECONDS); - if (config.doGammaOverride) EnvironmentCore.mcoptions.setGamma(10); if (Config.isBingoTime() || config.overrideBingoTime()) { connectToBBserver(); } diff --git a/fabric/src/main/java/de/hype/bbsentials/fabric/MCUtils.java b/fabric/src/main/java/de/hype/bbsentials/fabric/MCUtils.java index 4fea7fd..26d2872 100644 --- a/fabric/src/main/java/de/hype/bbsentials/fabric/MCUtils.java +++ b/fabric/src/main/java/de/hype/bbsentials/fabric/MCUtils.java @@ -26,7 +26,7 @@ public class MCUtils implements de.hype.bbsentials.common.mclibraries.MCUtils { } public String getMCUUID() { - return MinecraftClient.getInstance().player.getUuid().toString(); + return MinecraftClient.getInstance().getSession().getUuidOrNull().toString(); } @@ -1,6 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <Configuration status="WARN"> <!-- Filter out Hypixel scoreboard and sound errors --> - <RegexFilter regex="Error executing task.*|Unable to play unknown soundEvent.*" onMatch="DENY" + <RegexFilter + regex="Unable to play unknown soundEvent:.* |Signature is missing from Property textures|Received packet for unknown team .*|Ignoring player info update for unknown player .*|Requested creation of existing .*" + onMatch="DENY" onMismatch="NEUTRAL"/> -</Configuration>
\ No newline at end of file + <!-- Filter out other errors --> + <RegexFilter regex="Error executing task.*" onMatch="DENY" onMismatch="NEUTRAL"/> +</Configuration> |