Skip to content

Commit

Permalink
Fix transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Jun 5, 2024
1 parent 4b97cf5 commit 5de99ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
distribution: 'temurin'
- uses: gradle/actions/[email protected]
with:
gradle-version: 8.7
gradle-version: 8.8
name: Set up Gradle
- name: Add permission
run: chmod +x ./gradlew
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
distribution: 'temurin'
- uses: gradle/actions/[email protected]
with:
gradle-version: 8.7
gradle-version: 8.8
name: Set up Gradle
- name: Add permission
run: chmod +x ./gradlew
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public byte[] transform(byte[] bytes) {
cc.getConstructors()[0].setBody(
"""
{
this.field = net.minecraftforge.fml.relauncher.ReflectionHelper#findField(clazz, fieldNames);
this.field = net.minecraftforge.fml.relauncher.ReflectionHelper#findField($$);
this.field.setAccessible(true);
}
""");
Expand Down

0 comments on commit 5de99ec

Please sign in to comment.