diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-11 13:32:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-11 13:32:07 +0200 |
commit | 05a26ea4a8f0da89e8895176feefbe55e59c8f81 (patch) | |
tree | 83a13e476f14df45faa6be1e3a1167ec3752336d /src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java | |
parent | 4b238757afdd2544c7cc3d0eb351d65cf95cae4d (diff) | |
parent | ee172ce0a0750dd821a76fcbedf601658f5b45d6 (diff) | |
download | OneConfigLoader-05a26ea4a8f0da89e8895176feefbe55e59c8f81.tar.gz OneConfigLoader-05a26ea4a8f0da89e8895176feefbe55e59c8f81.tar.bz2 OneConfigLoader-05a26ea4a8f0da89e8895176feefbe55e59c8f81.zip |
Merge pull request #2 from Wyvest/main
im dumb
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java')
-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(); |