Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
justmangoou committed Jan 28, 2023
1 parent ee949f3 commit ac56f85
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
context: changelog
workflow_id: build_release.yml
- uses: gradle/wrapper-validation-action@v1
- run: ./gradlew checkVersion build github --stacktrace -Porg.gradle.parallel.threads=4
- run: ./gradlew build github --stacktrace -Porg.gradle.parallel.threads=4
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ sourceSets {

loom {
serverOnlyMinecraftJar()

accessWidenerPath.set(file("src/main/resources/smp.accesswidener"))
}

dependencies {
Expand All @@ -42,7 +44,6 @@ dependencies {
modImplementation("net.fabricmc.fabric-api:fabric-api:${property("fabricVersion")}")
}


tasks {
processResources {
inputs.property("version", project.version)
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"xyz.mangostudio.smp.mod.SMPMod"
]
},
"accessWidener": "smp.accesswidener",
"mixins": [
"smp.mixins.json"
],
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/smp.accesswidener
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
accessWidener v1 named

accessible method net/minecraft/server/ServerConfigEntry getKey() Ljava/lang/Object;

0 comments on commit ac56f85

Please sign in to comment.