/itemjoin reload still not work in console
anyecraft opened this issue ยท 6 comments
Somethings not right with your en-lang.yml.
Can you send me it via a pastebin.com link please?
[11:14:38] [Server thread/WARN]: Unexpected exception while parsing console command "itemjoin reload"
org.bukkit.command.CommandException: Unhandled exception executing command 'itemjoin' in plugin ItemJoin v4.7
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[patched_1.12.2.jar:git-Paper-1297]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) ~[patched_1.12.2.jar:git-Paper-1297]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:673) ~[patched_1.12.2.jar:git-Paper-1297]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:636) [patched_1.12.2.jar:git-Paper-1297]
at net.minecraft.server.v1_12_R1.DedicatedServer.aP(DedicatedServer.java:464) [patched_1.12.2.jar:git-Paper-1297]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:427) [patched_1.12.2.jar:git-Paper-1297]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767) [patched_1.12.2.jar:git-Paper-1297]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) [patched_1.12.2.jar:git-Paper-1297]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
Caused by: java.lang.ClassCastException: com.destroystokyo.paper.console.TerminalConsoleCommandSender cannot be cast to org.bukkit.entity.Player
at me.RockinChaos.itemjoin.utils.Language.sendEnglishMessage(Language.java:26) ~[ItemJoin.jar:?]
at me.RockinChaos.itemjoin.utils.Language.getSendMessage(Language.java:16) ~[ItemJoin.jar:?]
at me.RockinChaos.itemjoin.utils.Commands.onCommand(Commands.java:113) ~[ItemJoin.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[patched_1.12.2.jar:git-Paper-1297]
... 8 more
en-lang.yml is default
Interesting.. I can't seem to replicate this.
Can you try this and tell me if the error is resolved; http://ci.craftationgaming.com/job/ItemJoin/97/artifact/target/ItemJoin-4.8-SNAPSHOT.jar
Sweet, Seems to be an issue with paper, The snapshot is safe to use until v4.8 is fully released :)
ItemJoin v4.8 has been officially released containing this bug fix for official usage.
You can grab it here; https://www.spigotmc.org/resources/itemjoin.12661/download?version=223327
Please read the changelog as the documentation has not been updated yet;
https://www.spigotmc.org/wiki/recent-changes