mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Avoid duplicate application of class transformations
This commit is contained in:
parent
bf2cfa83f0
commit
ef2e887d06
|
@ -63,9 +63,6 @@ class DependencyClassSource implements ClassHolderSource {
|
|||
throw new IllegalArgumentException("Class " + cls.getName() + " is already defined");
|
||||
}
|
||||
if (!transformers.isEmpty()) {
|
||||
for (ClassHolderTransformer transformer : transformers) {
|
||||
transformer.transformClass(cls, transformContext);
|
||||
}
|
||||
cls = ModelUtils.copyClass(cls);
|
||||
}
|
||||
generatedClasses.put(cls.getName(), cls);
|
||||
|
|
Loading…
Reference in New Issue
Block a user