From 19dbec6a4bc69022cade9ab13681c209ebb9ec51 Mon Sep 17 00:00:00 2001 From: Connor Slade Date: Wed, 28 Jun 2023 13:53:40 -0400 Subject: [PATCH] Prepare for publish --- gradle.properties | 2 +- .../java/com/connorcode/sigmautils/mixin/TitleScreenMixin.java | 2 +- .../connorcode/sigmautils/modules/server/BridgeAnalysis.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 6499f1f..8c2a8ff 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ minecraft_version=1.20 yarn_mappings=1.20+build.1 loader_version=0.14.21 # Mod Properties -mod_version=0.1.3_alpha +mod_version=0.1.4_alpha maven_group=com.connorcode archives_base_name=sigma-utils # Dependencies diff --git a/src/main/java/com/connorcode/sigmautils/mixin/TitleScreenMixin.java b/src/main/java/com/connorcode/sigmautils/mixin/TitleScreenMixin.java index ecdc2db..9dacbc6 100644 --- a/src/main/java/com/connorcode/sigmautils/mixin/TitleScreenMixin.java +++ b/src/main/java/com/connorcode/sigmautils/mixin/TitleScreenMixin.java @@ -26,10 +26,10 @@ @Mixin(TitleScreen.class) public class TitleScreenMixin extends Screen { + long updateTime; @Shadow @Nullable private SplashTextRenderer splashText; - long updateTime; protected TitleScreenMixin(Text title) { super(title); diff --git a/src/main/java/com/connorcode/sigmautils/modules/server/BridgeAnalysis.java b/src/main/java/com/connorcode/sigmautils/modules/server/BridgeAnalysis.java index 012f002..fb62050 100644 --- a/src/main/java/com/connorcode/sigmautils/modules/server/BridgeAnalysis.java +++ b/src/main/java/com/connorcode/sigmautils/modules/server/BridgeAnalysis.java @@ -35,7 +35,7 @@ public void init() { if (!this.enabled) return; if (!(packet.get() instanceof TitleS2CPacket title)) return; var regex = Pattern.compile(endRegex.value()); - if (!regex.matcher(title.getTitle().getString()).matches()) return; + if (!regex.matcher(title.getTitle().getString()).matches()) {} // wdl });