Puzzle 1.4.2 - Update to 1.19.3

Here's a little Christmas present for y'all!
Puzzle now has 1.19.3 support.
This commit is contained in:
Motschen
2022-12-24 17:53:39 +01:00
parent a8c89b11c7
commit 12015d6ba4
12 changed files with 52 additions and 48 deletions

View File

@@ -68,7 +68,7 @@ public abstract class MixinTitleScreen extends Screen {
private void puzzle$mouseClicked(double mouseX, double mouseY, int button, CallbackInfoReturnable<Boolean> cir) {
if (mouseX > 2 && mouseX < (double)(2 + this.puzzleTextWidth) && mouseY > (double)(this.height - yOffset) && mouseY < (double)this.height - yOffset + 10) {
if (Objects.requireNonNull(this.client).options.getChatLinksPrompt().getValue()) {
this.client.setScreen(new ConfirmChatLinkScreen(this::confirmLink, PuzzleCore.updateURL, true));
this.client.setScreen(new ConfirmLinkScreen(this::confirmLink, PuzzleCore.updateURL, true));
} else {
Util.getOperatingSystem().open(PuzzleCore.updateURL);
}