MyWarp

MyWarp

220k Downloads

normal user can't warp - internal error

SurtursRevenge opened this issue ยท 1 comments

commented

Hi,

when a user tries to use the warp system it failes with the following error.
But if i run the same warp as OP it works.

also i've set defaultLocale: de_DE in the config. But the error tries to use en_us ?

I have ne idear what could cause this errer and why it is just happening on some users


org.bukkit.command.CommandException: Unhandled exception executing command 'warp' in plugin MyWarp v3.0-beta-3+jenkins-b98.git-623f42c
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-f9671b8-4d87c34]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-f9671b8-4d87c34]
at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:647) ~[spigot.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1351) [spigot.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1186) [spigot.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-f9671b8-4d87c34]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_74]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_74]
at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [spigot.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:732) [spigot.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [spigot.jar:git-Spigot-f9671b8-4d87c34]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [spigot.jar:git-Spigot-f9671b8-4d87c34]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_74]
Caused by: java.lang.IllegalArgumentException: Invalid locale format: en_us
at org.apache.commons.lang.LocaleUtils.toLocale(LocaleUtils.java:118) ~[spigot.jar:git-Spigot-f9671b8-4d87c34]
at me.taylorkelly.mywarp.bukkit.util.parametric.ReflectiveLocaleResolver.resolve(ReflectiveLocaleResolver.java:99) ~[?:?]
at me.taylorkelly.mywarp.bukkit.BukkitPlayer.getLocale(BukkitPlayer.java:119) ~[?:?]
at me.taylorkelly.mywarp.bukkit.MyWarpPlugin.onCommand(MyWarpPlugin.java:276) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-f9671b8-4d87c34]
... 15 more

commented

This error is already fixed, please use the latest devBuild. :)