Skip to content

Commit

Permalink
Update MinecraftMixin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Jab125 committed Dec 31, 2024
1 parent 79f6526 commit 3f99383
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class MinecraftMixin {
@ModifyArg(method = "updateTitle", at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/platform/Window;setTitle(Ljava/lang/String;)V"))
private String setWindowTitleMixin(String title) {
TweakManager tweakManager = TweakManager.getInstance();
WindowTitle windowTitle = (WindowTitle) tweakManager.getTweak("windowtitle");
WindowTitle windowTitle = tweakManager.getTweak("windowtitle");
if (windowTitle == null || !windowTitle.isEnabled()) {
return title;
} else {
Expand Down

0 comments on commit 3f99383

Please sign in to comment.