Skip to content

Commit

Permalink
Further reduce transformer whitelist only to include two transformers
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Jun 22, 2016
1 parent e8bc064 commit 434f1ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/me/nallar/modpatcher/LaunchClassLoaderUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public enum LaunchClassLoaderUtil {
DEOBF_TRANSFORMER_NAME,
SPONGEPOWERED_MIXIN_TRANSFORMER_NAME
);
// Automatically includes TransformerWrapper wrapped versions as allowed
private static final List<String> WHITELISTED_TRANSFORMERS = Collections.singletonList(
"net.minecraftforge.fml.common.asm.transformers"
private static final List<String> WHITELISTED_TRANSFORMERS = Arrays.asList(
"net.minecraftforge.fml.common.asm.transformers.PatchingTransformer",
"net.minecraftforge.fml.common.asm.transformers.DeobfuscationTransformer"
);
private static final boolean DEBUG = Boolean.parseBoolean(System.getProperty("legacy.debugClassLoading", "false"));
private static final boolean DEBUG_FINER = DEBUG && Boolean.parseBoolean(System.getProperty("legacy.debugClassLoadingFiner", "false"));
Expand Down

0 comments on commit 434f1ad

Please sign in to comment.