summaryrefslogtreecommitdiff
path: root/src/main/java/cc
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-06-11 18:29:57 +0700
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-06-11 18:29:57 +0700
commitee172ce0a0750dd821a76fcbedf601658f5b45d6 (patch)
tree4bfd543071741dd574f5884d7ba5dda73fc5e894 /src/main/java/cc
parentf28882eb8fc6886034c823fc688ef0775cd3bafa (diff)
downloadOneConfigLoader-ee172ce0a0750dd821a76fcbedf601658f5b45d6.tar.gz
OneConfigLoader-ee172ce0a0750dd821a76fcbedf601658f5b45d6.tar.bz2
OneConfigLoader-ee172ce0a0750dd821a76fcbedf601658f5b45d6.zip
im dumb
Diffstat (limited to 'src/main/java/cc')
-rw-r--r--src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java2
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();