Clean up transformers a bit. Can't use COMPUTE_FRAMES even though it's required - the game refuses to even
run if I do. Note for j8: when we force Java8 classes, all coremods will need a thorough overhaul - the current way we do things is not sustainable when Java8 becomes the universal norm.
This commit is contained in:
parent
3bbf5c04a6
commit
06398fa259
3 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ public class EventSubscriptionTransformer implements IClassTransformer
|
|||
{
|
||||
if (buildEvents(classNode))
|
||||
{
|
||||
ClassWriter cw = new ClassWriter(COMPUTE_MAXS | COMPUTE_FRAMES);
|
||||
ClassWriter cw = new ClassWriter(COMPUTE_FRAMES);
|
||||
classNode.accept(cw);
|
||||
return cw.toByteArray();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue