Fix some comments

This commit is contained in:
makamys committed 2023-02-05 16:58:16 +01:00
1 parent 41e012182f
commit c4f7fa1dba
2 files changed
+5 -4

No files matched your search

@@ -30,7 +30,7 @@ public class CompatCore implements IFMLLoadingPlugin {
}
/** LWJGL3ify excludes transformation of its core package, which prevents us from remapping its
* LwjglRedirectTransformer. However, the exception appears to be unnecessary, since its transformers already
* LwjglRedirectTransformer. However, the exclusion appears to be unnecessary, since its transformers already
* have checks that prevent ClassCircularityErrors.
*/
private static void applyLWJGL3ifyCompatibilityHack() {
@@ -15,10 +15,11 @@ import org.objectweb.asm.tree.MethodNode;
import java.util.*;
/**
* <p>Some classes use Mixin internals, so we need to make sure they uses the correct type names, and remap them if they don't.</p>
* <p>Some classes use Mixin internals, so we need to make sure they use the correct type names, and remap them if they don't.</p>
* <p>We do this for every class for maximum compatibility.</p>
*/
// Ideally this should be done for every mod class, but we do it selectively out of caution.
// TODO Test if doing this for every class would affect performance or cause other issues.
// TODO Measure the performance impact of this and switch to doing it selectively if it would improve things.
public class ASMRemapperTransformer implements IClassTransformer {
/** A class will be remapped if it implements one of these interfaces. */