Not working on 1.12.2
Describe the issue
Whenever I start the server, I only get the repeated commands back. Just like it was an echo.
To Reproduce
Steps to reproduce the behavior:
- Launch 1.12.2 server
- Check the logs
- Find the error
Expected behavior I would like to use this plugin with no problems...?
Logs and/or Screenshots
[14:08:29] [Server thread/INFO]: [SimpleScore] Enabling SimpleScore v3.2.2
[14:08:29] [Server thread/ERROR]: Error occurred while enabling SimpleScore v3.2.2 (Is it up to date?)
java.lang.ClassCastException: org.bukkit.configuration.MemorySection cannot be cast to java.util.List
at com.r4g3baby.simplescore.configs.MainConfig.<init>(MainConfig.kt:21) ~[?:?]
at com.r4g3baby.simplescore.SimpleScore.reload(SimpleScore.kt:37) ~[?:?]
at com.r4g3baby.simplescore.SimpleScore.onEnable(SimpleScore.kt:23) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
Server Software (please complete the following information):
- Name: Spigot
- Version: 1.12.2
- Server's about output
[01:33:36 INFO]: This server is running CraftBukkit version git-Spigot-dcd1643-e60fc34 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
[01:33:36 INFO]: This is a final build for 1.12.2. Please see https://www.spigotmc.org/ for details about upgrading```