diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-06-11 18:29:57 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-06-11 18:29:57 +0700 |
commit | ee172ce0a0750dd821a76fcbedf601658f5b45d6 (patch) | |
tree | 4bfd543071741dd574f5884d7ba5dda73fc5e894 | |
parent | f28882eb8fc6886034c823fc688ef0775cd3bafa (diff) | |
download | OneConfigLoader-ee172ce0a0750dd821a76fcbedf601658f5b45d6.tar.gz OneConfigLoader-ee172ce0a0750dd821a76fcbedf601658f5b45d6.tar.bz2 OneConfigLoader-ee172ce0a0750dd821a76fcbedf601658f5b45d6.zip |
im dumb
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<String, Object> 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(); |