Enable class location cache

This commit is contained in:
embeddedt 2023-01-19 08:57:52 -05:00
parent d2f5c4b15a
commit 802a0587c7
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -27,7 +27,7 @@ public class ModernFixMixinPlugin implements IMixinConfigPlugin {
public static ModernFixEarlyConfig config = null;
private static final boolean USE_TRANSFORMER_CACHE = false;
private static final boolean USE_CLASS_LOCATION_CACHE = false;
private static final boolean USE_CLASS_LOCATION_CACHE = true;
public ModernFixMixinPlugin() {
/* We abuse the constructor of a mixin plugin as a safe location to start modifying the classloader */