mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 04:32:33 +00:00
Skip transformation of null classes to avoid re-entrance check
This commit is contained in:
1 parent
b7cc517d4d
commit
dd31dd2313
1 file changed
+4
@@ -226,6 +226,10 @@ public class MixinTransformer extends TreeTransformer {
|
||||
*/
|
||||
@Override
|
||||
public byte[] transform(String name, String transformedName, byte[] basicClass) {
|
||||
if (basicClass == null) {
|
||||
return basicClass;
|
||||
}
|
||||
|
||||
this.reEntranceCheck++;
|
||||
|
||||
if (this.reEntranceCheck > 1) {
|
||||
|
||||
Reference in new issue
Block a user