mirror of
https://github.com/PuzzleMC/Puzzle.git
synced 2025-12-16 03:45:10 +01:00
Puzzle 1.2.0 - 1.18
Fix #18 Fix #17 Fix #13 Russian translations by @Felix14-v2 German translations by @2020Sanoj
This commit is contained in:
@@ -27,13 +27,14 @@ public abstract class MixinTitleScreen extends Screen {
|
||||
@Shadow private long backgroundFadeStart;
|
||||
private Text puzzleText;
|
||||
private int puzzleTextWidth;
|
||||
private int yOffset = 20;
|
||||
private int yOffset;
|
||||
|
||||
protected MixinTitleScreen(Text title) {
|
||||
super(title);
|
||||
}
|
||||
@Inject(at = @At("TAIL"), method = "init")
|
||||
private void puzzle$init(CallbackInfo ci) {
|
||||
yOffset = 20;
|
||||
if (FabricLoader.getInstance().isModLoaded("dashloader")) yOffset = yOffset + 10;
|
||||
if (UpdateChecker.isUpToDate) {
|
||||
puzzleText = Text.of(PuzzleCore.version);
|
||||
|
||||
Reference in New Issue
Block a user