From 2778bcbd6aa518d03c9051774b3920820812bc98 Mon Sep 17 00:00:00 2001 From: Gamebuster19901 Date: Sun, 4 Aug 2024 23:18:34 -0400 Subject: [PATCH] Fix null MixinEnvironment --- src/main/java/org/spongepowered/asm/mixin/Mixins.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/spongepowered/asm/mixin/Mixins.java b/src/main/java/org/spongepowered/asm/mixin/Mixins.java index 1d9f3ef69..909ade0c7 100644 --- a/src/main/java/org/spongepowered/asm/mixin/Mixins.java +++ b/src/main/java/org/spongepowered/asm/mixin/Mixins.java @@ -95,7 +95,7 @@ public static void addConfigurations(String[] configFiles, IMixinConfigSource so * @param configFile path to configuration resource */ public static void addConfiguration(String configFile) { - Mixins.createConfiguration(configFile, null, null); + Mixins.createConfiguration(configFile, MixinEnvironment.getDefaultEnvironment(), null); } /**