You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm trying to get array from my config I'm get strange error:
Caused by: java.lang.IllegalArgumentException: Incorrect type [Ljava.lang.String; for autoMessage.messages. Correct class is String[]
at com.oroarmor.config.Config.getValue(Config.java:135) ~[oro-config-common-3.1.0-dev.jar:?]
at ru.kiriharu.catessentials.CatEssentials.initializeAutoMessage(CatEssentials.java:28) ~[main/:?]
at ru.kiriharu.catessentials.CatEssentials.onInitializeServer(CatEssentials.java:40) ~[main/:?]
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.11.7.jar:?]
... 11 more
When I'm trying to get array from my config I'm get strange error:
Code:
AutoMessageConfig class
Code for getting value from config:
Maybe I make something wrong?
The text was updated successfully, but these errors were encountered: