Skip to content

Commit

Permalink
Workaround for null crash in Context
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Feb 17, 2025
1 parent 485c1c5 commit e5e08c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void queneEarlyMixinLoader(IFMLLoadingPlugin plugin) {
if (plugin instanceof IEarlyMixinLoader earlyMixinLoader) earlyMixinLoaders.add(earlyMixinLoader);
if (plugin instanceof IMixinConfigHijacker hijacker) {
Collection<String> disabledConfigs = GlobalProperties.get(GlobalProperties.Keys.CLEANROOM_DISABLE_MIXIN_CONFIGS);
Context context = new Context(null);
Context context = new Context(null, Collections.emptySet());
FMLLog.log.info("Loading config hijacker {}.", hijacker.getClass().getName());
for (String hijacked : hijacker.getHijackedMixinConfigs(context)) {
disabledConfigs.add(hijacked);
Expand Down

0 comments on commit e5e08c0

Please sign in to comment.