From ee172ce0a0750dd821a76fcbedf601658f5b45d6 Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Sat, 11 Jun 2022 18:29:57 +0700 Subject: im dumb --- src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java b/src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java index f7cae69..fa0121b 100644 --- a/src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java +++ b/src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java @@ -203,7 +203,7 @@ public class OneConfigLoader implements IFMLLoadingPlugin { public void injectData(Map data) { try { if (transformer != null) { - clazz.getDeclaredMethod("injectData").invoke(transformer, data); + clazz.getDeclaredMethod("injectData", Map.class).invoke(transformer, data); } } catch (IllegalAccessException | InvocationTargetException | NoSuchMethodException e) { e.printStackTrace(); -- cgit