Exception: /fcadmin reload
BenWoodworth opened this issue ยท 0 comments
fcadmin reload
throws an exception:
[06:56:34 WARN]: Unexpected exception while parsing console command "fcadmin reload"
org.bukkit.command.CommandException: Unhandled exception executing command 'fcadmin' in plugin FastCraftPlus v0.27.2
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.12.2.jar:git-Spigot-7754231-362ed32]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.12.2.jar:git-Spigot-7754231-362ed32]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:651) ~[spigot-1.12.2.jar:git-Spigot-7754231-362ed32]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:637) [spigot-1.12.2.jar:git-Spigot-7754231-362ed32]
at net.minecraft.server.v1_12_R1.DedicatedServer.aP(DedicatedServer.java:444) [spigot-1.12.2.jar:git-Spigot-7754231-362ed32]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:407) [spigot-1.12.2.jar:git-Spigot-7754231-362ed32]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-7754231-362ed32]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-7754231-362ed32]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
Caused by: java.lang.UnsupportedOperationException
at com.google.common.collect.UnmodifiableIterator.remove(UnmodifiableIterator.java:46) ~[spigot-1.12.2.jar:git-Spigot-7754231-362ed32]
at org.bukkit.craftbukkit.v1_12_R1.inventory.RecipeIterator.remove(RecipeIterator.java:51) ~[spigot-1.12.2.jar:git-Spigot-7754231-362ed32]
at co.kepler.fastcraftplus.config.RecipesConfig.load(RecipesConfig.java:40) ~[?:?]
at co.kepler.fastcraftplus.FastCraftPlus.load(FastCraftPlus.java:83) ~[?:?]
at co.kepler.fastcraftplus.FastCraftPlus.reload(FastCraftPlus.java:100) ~[?:?]
at co.kepler.fastcraftplus.commands.CmdReload.onCommand(CmdReload.java:22) ~[?:?]
at co.kepler.fastcraftplus.commands.CmdFastCraftAdmin.onCommand(CmdFastCraftAdmin.java:25) ~[?:?]
at co.kepler.fastcraftplus.commands.CommandManager.onCommand(CommandManager.java:46) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.12.2.jar:git-Spigot-7754231-362ed32]
... 8 more
Erroring line of code:
https://github.com/BenWoodworth/FastCraft/blob/v0/dev/src/main/java/co/kepler/fastcraftplus/config/RecipesConfig.java#L40