IllegalArgumentException on start-up
SlimeDog opened this issue ยท 4 comments
Spigot 1.14.3
EHM 3.14.alpha-2c99465
With newly-generated config.yml
Death:
Loose Items On Death:
Tools:
- DIAMOND_AXE
- DIAMOND_PICKAXE
- DIAMOND_SHOVEL
- DIAMOND_SWORD
[06:07:02] [Server thread/ERROR]: Error occurred while enabling ExtraHardMode v3.14.alpha-2c99465 (Is it up to date?)
java.lang.IllegalArgumentException: ExtraHardMode.Player.Death.Loose Items On Death.Tools expects MATERIAL_LIST but got java.util.ArrayList
at com.extrahardmode.service.config.MultiWorldConfig.set(MultiWorldConfig.java:168) ~[?:?]
at com.extrahardmode.config.RootConfig.load(RootConfig.java:117) ~[?:?]
at com.extrahardmode.config.RootConfig.starting(RootConfig.java:56) ~[?:?]
at com.extrahardmode.ExtraHardMode.registerModule(ExtraHardMode.java:286) ~[?:?]
at com.extrahardmode.ExtraHardMode.onEnable(ExtraHardMode.java:115) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot-1.14.3.jar-2019-06-25-0522:git-Spigot-595711b-e8b39d4]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot-1.14.3.jar-2019-06-25-0522:git-Spigot-595711b-e8b39d4]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:416) [spigot-1.14.3.jar-2019-06-25-0522:git-Spigot-595711b-e8b39d4]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:458) [spigot-1.14.3.jar-2019-06-25-0522:git-Spigot-595711b-e8b39d4]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:372) [spigot-1.14.3.jar-2019-06-25-0522:git-Spigot-595711b-e8b39d4]
at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:439) [spigot-1.14.3.jar-2019-06-25-0522:git-Spigot-595711b-e8b39d4]
at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:258) [spigot-1.14.3.jar-2019-06-25-0522:git-Spigot-595711b-e8b39d4]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:764) [spigot-1.14.3.jar-2019-06-25-0522:git-Spigot-595711b-e8b39d4]
at java.lang.Thread.run(Thread.java:834) [?:?]
Hmm, I guess it may be getting caught in the generic list. So I may just drop the whole "Material list" identifier.