Skip to content

Commit

Permalink
More cursed approach
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Dec 18, 2024
1 parent 1a957e3 commit 59ce550
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ public byte[] transform(String s, String s1, byte[] bytes) {
return out.toByteArray();
}

@Override
public int getPriority() {
return Integer.MIN_VALUE + 1;
}

static class LWJGLXRemapper extends Remapper {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,4 @@ public byte[] transform(String name, String transformedName, byte[] bytes)
return ClassPatchManager.INSTANCE.applyPatch(name, transformedName, bytes);
}

@Override
public int getPriority() {
return Integer.MIN_VALUE;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ public void setup(File mcDir, LaunchClassLoader classLoader, String deobfFileNam
String cl = "";
for (String line : srgList)
{
line = line.replace("org/lwjgl/", "org/lwjglx/");
String[] parts = Iterables.toArray(splitter.split(line),String.class);
if (!line.startsWith("\t") && parts.length == 2)
{
Expand Down

0 comments on commit 59ce550

Please sign in to comment.