mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-25 14:34:42 +00:00
Enable running on default asm version and fix server startup
This commit is contained in:
1 parent
aed9cab431
commit
3521ce98c5
2 files changed
+5
-2
No files matched your search
+3
@@ -18,6 +18,9 @@ import org.objectweb.asm.tree.MethodNode;
|
||||
*/
|
||||
public class FixConstantPoolInterfaceMethodRefHelper {
|
||||
public boolean transform(ClassNode node) {
|
||||
if (System.getProperty("java.specification.version", "1.8").trim().startsWith("1.8")) {
|
||||
return false;
|
||||
}
|
||||
if ((node.access & Opcodes.ACC_INTERFACE) == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user