error in log on téléport in mode SPECTAEUR
LadyCailinBot opened this issue · 1 comments
CMDHELPER-3027 - Reported by sat
I've got an error in log where a player use new fonctionality of the mode spectator.
in spectator mode use teport to user whith new fonctionlité cause this error :
[12:40:58] [Server thread/ERROR]: [CommandHelper][ERROR][RUNTIME] When trying to convert org.bukkit.event.player.PlayerTeleportEvent$TeleportCause.SPECTATE to a com.laytonsmith.abstraction.enums.MCTeleportCause, no match was found. This may be caused by an old plugin version, or a newer server version.
[12:40:58] [Server thread/ERROR]: Could not pass event PlayerTeleportEvent to CommandHelper v3.3.1-SNAPSHOT.2832-
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot.jar:git-Spigot-8a983f9-b70ebbc]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-8a983f9-b70ebbc]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at org.bukkit.craftbukkit.v1_8_R1.entity.CraftPlayer.teleport(CraftPlayer.java:448) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at org.bukkit.craftbukkit.v1_8_R1.entity.CraftEntity.teleport(CraftEntity.java:252) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:804) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at net.minecraft.server.v1_8_R1.PacketPlayInSpectate.a(SourceFile:35) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at net.minecraft.server.v1_8_R1.PacketPlayInSpectate.a(SourceFile:12) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_75]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_75]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:685) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot.jar:git-Spigot-8a983f9-b70ebbc]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]
Caused by: java.lang.IllegalArgumentException: No enum constant com.laytonsmith.abstraction.enums.MCTeleportCause.SPECTATE
at java.lang.Enum.valueOf(Enum.java:236) ~[?:1.7.0_75]
at com.laytonsmith.abstraction.enums.EnumConvertor.getAbstractedEnum(EnumConvertor.java:66) ~[?:?]
at com.laytonsmith.abstraction.bukkit.events.BukkitPlayerEvents$BukkitMCPlayerTeleportEvent.getCause(BukkitPlayerEvents.java:283) ~[?:?]
at com.laytonsmith.core.events.drivers.PlayerEvents$player_teleport.evaluate(PlayerEvents.java:406) ~[?:?]
at com.laytonsmith.core.events.EventUtils.FireListeners(EventUtils.java:253) ~[?:?]
at com.laytonsmith.core.events.EventUtils.TriggerListener(EventUtils.java:241) ~[?:?]
at com.laytonsmith.abstraction.bukkit.events.drivers.BukkitPlayerListener.onPlayerTeleport(BukkitPlayerListener.java:248) ~[?:?]
at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[spigot.jar:git-Spigot-8a983f9-b70ebbc]
... 16 more