Skip to content

Commit aaa9cee

Browse files
committed
26.2-snapshot.1
1 parent ff6084c commit aaa9cee

5 files changed

Lines changed: 22 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ base {
6868
}
6969

7070
stonecutter {
71+
replacements.string {
72+
direction = eval(current.version, ">=26.2")
73+
replace(".setScreen", ".gui.setScreen")
74+
}
75+
76+
replacements.string {
77+
direction = eval(current.version, ">=26.2")
78+
replace("minecraft.screen", "minecraft.gui.screen()")
79+
}
80+
7181
replacements.string {
7282
direction = eval(current.version, ">=1.21.11")
7383
replace("ResourceLocation", "Identifier")

settings.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ stonecutter {
3232
mc("1.21.10", listOf("fabric"))
3333
mc("1.21.11", listOf("fabric"))
3434
mc("26.1", listOf("fabric"))
35+
mc("26.2", listOf("fabric"))
3536

3637
vcsVersion = "1.21.10-fabric"
3738
}

src/main/java/org/visuals/legacy/lightconfig/lib/v1/screen/InternalConfigScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ protected void init() {
4848
@SuppressWarnings("DataFlowIssue")
4949
public void onClose() {
5050
this.config.save();
51-
this.minecraft.setScreen(this.parent);
51+
this.minecraft.gui.setScreen(this.parent);
5252
}
5353
}

stonecutter.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
alias(libs.plugins.spotless)
55
}
66

7-
stonecutter active "26.1-fabric" /* [SC] DO NOT EDIT */
7+
stonecutter active "26.2-fabric" /* [SC] DO NOT EDIT */
88

99
stonecutter {
1010
tasks {
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
loader.platform=fabric
2+
3+
deps.parchment_version=
4+
deps.fabric_api_version=0.145.5+26.2
5+
deps.modmenu_version=18.0.0-alpha.8
6+
7+
mod.obfuscated=false
8+
mod.minecraft_version=26.2-snapshot-1
9+
mod.minecraft_version_range=26.2-alpha.1

0 commit comments

Comments
 (0)