summaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java')
-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();