Skip to content

Commit

Permalink
Fix MixinFixer Patches
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Nov 23, 2024
1 parent d0ac647 commit ec84111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mappings_version=39-1.12
mod_id=fugue
mod_name=Fugue
mod_main_class=Fugue
mod_version=0.17.0
mod_version=0.17.1
mod_base_package=com.cleanroommc.fugue
mod_authors=kappa_maintainer
mod_description=A mod that patch dead mods for Cleanroom
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public byte[] transform(byte[] bytes) {
cc.getConstructors()[0].instrument(new ExprEditor(){
@Override
public void edit(MethodCall m) throws CannotCompileException {
if (m.getMethodName().equals("addConfiguration") && m.getMethodName().equals("init")) {
if (m.getMethodName().equals("addConfiguration") || m.getMethodName().equals("init")) {
m.where().setBody("{}");
}
}
Expand Down

0 comments on commit ec84111

Please sign in to comment.