CommandHelper

CommandHelper

46.5k Downloads

/reloadaliases flags are broken (stacktrace)

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-2936 - Reported by opoq

[19:10:52 INFO]: opoq issued server command: /reloadaliases --whitelist -p
[19:10:52 ERROR]: null
com.laytonsmith.PureUtilities.ArgumentParser$ValidationException: Unrecognized flag: p
at com.laytonsmith.PureUtilities.ArgumentParser.parse(ArgumentParser.java:1051) ~[CommandHelper.jar:3.3.1-SNAPSHOT]
at com.laytonsmith.PureUtilities.ArgumentParser.match(ArgumentParser.java:1152) ~[CommandHelper.jar:3.3.1-SNAPSHOT]
at com.laytonsmith.core.AliasCore.reload(AliasCore.java:315) [CommandHelper.jar:3.3.1-SNAPSHOT]
at com.laytonsmith.commandhelper.CommandHelperPlugin.onCommand(CommandHelperPlugin.java:439) [CommandHelper.jar:3.3.1-SNAPSHOT]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [bukkit.jar:git-Spigot-1377]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [bukkit.jar:git-Spigot-1377]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:719) [bukkit.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(PlayerConnection.java:984) [bukkit.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:829) [bukkit.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.a(PacketPlayInChat.java:28) [bukkit.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(PacketPlayInChat.java:65) [bukkit.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [bukkit.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [bukkit.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [bukkit.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [bukkit.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [bukkit.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [bukkit.jar:git-Spigot-1377]
at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [bukkit.jar:git-Spigot-1377]

commented

Comment by LadyCailin

Not sure why you marked this as major. But anyways, preferences now automatically reload, as soon as you make a change to the file, it immediately takes effect, so -p has been removed. This is still a bug though, since you're stacktracing it.