WMCAlliance / RoyalCommands

1.21.1 compatible Server Management Plugin (Essentials alternative) with commands for player management, teleportation, homes, and much more.
http://rcmds.wma.im
Mozilla Public License 2.0
1 stars 1 forks source link

Nickname command doesn't work from console #3

Closed WizardCM closed 2 years ago

WizardCM commented 6 years ago
[16:26:09 WARN]: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_13_R2.command.ColouredConsoleSender cannot be cast to org.bukkit.OfflinePlayer
[16:26:09 WARN]:        at org.royaldev.royalcommands.rcommands.CmdNick.runCommand(CmdNick.java:99)
[16:26:09 WARN]:        at org.royaldev.royalcommands.rcommands.CACommand.runCommand(CACommand.java:23)
[16:26:09 WARN]:        at org.royaldev.royalcommands.rcommands.BaseCommand.onCommand(BaseCommand.java:282)
[16:26:09 WARN]:        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[16:26:09 WARN]:        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:139)
[16:26:09 WARN]:        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:699)
[16:26:09 WARN]:        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchServerCommand(CraftServer.java:684)
[16:26:09 WARN]:        at net.minecraft.server.v1_13_R2.DedicatedServer.aU(DedicatedServer.java:459)
[16:26:09 WARN]:        at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:418)
[16:26:09 WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835)
[16:26:09 WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733)
[16:26:09 WARN]:        at java.lang.Thread.run(Unknown Source)
BlaneyXYZ commented 2 years ago

Fixed :)