EchoPet causing another plugin's error.
mibby opened this issue ยท 2 comments
Build 155. Seems to occur when riding your pet while trying to access a lift/elevator sign. I would assume the same error would occur when trying to teleport around while riding a pet.
[SEVERE] Could not pass event PlayerInteractEvent to CraftBook v3.7-SNAPSHOT:3346-bf4eec6,master
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:207)
at net.minecraft.server.v1_6_R3.PlayerInteractManager.interact(PlayerInteractManager.java:374)
at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:631)
at net.minecraft.server.v1_6_R3.Packet15Place.handle(Packet15Place.java:43)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:237)
at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:117)
at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:131)
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:604)
at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240)
at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:493)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: java.lang.ClassCastException: io.github.dsh105.echopet.entity.living.CraftLivingPet cannot be cast to org.bukkit.entity.Vehicle
at com.sk89q.craftbook.bukkit.BukkitPlayer.getVehicle(BukkitPlayer.java:111)
at com.sk89q.craftbook.mech.Elevator.teleportPlayer(Elevator.java:326)
at com.sk89q.craftbook.mech.Elevator.makeItSo(Elevator.java:245)
at com.sk89q.craftbook.mech.Elevator.onRightClick(Elevator.java:206)
at com.sk89q.craftbook.MechanicManager.dispatchBlockRightClick(MechanicManager.java:250)
at com.sk89q.craftbook.bukkit.MechanicListenerAdapter.onPlayerInteract(MechanicListenerAdapter.java:106)
at sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 17 more
[SEVERE] Could not pass event PlayerInteractEvent to CraftBook v3.7-SNAPSHOT:3350-1a94368,master
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:252)
at net.minecraft.server.v1_6_R3.PlayerInteractManager.interact(PlayerInteractManager.java:374)
at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:637)
at net.minecraft.server.v1_6_R3.Packet15Place.handle(Packet15Place.java:43)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:242)
at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:122)
at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:135)
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:598)
at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:234)
at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:487)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: java.lang.ClassCastException: io.github.dsh105.echopet.entity.living.CraftLivingPet cannot be cast to org.bukkit.entity.Vehicle
at com.sk89q.craftbook.bukkit.BukkitPlayer.getVehicle(BukkitPlayer.java:111)
at com.sk89q.craftbook.mech.Elevator.teleportPlayer(Elevator.java:326)
at com.sk89q.craftbook.mech.Elevator.makeItSo(Elevator.java:245)
at com.sk89q.craftbook.mech.Elevator.onRightClick(Elevator.java:206)
at com.sk89q.craftbook.MechanicManager.dispatchBlockRightClick(MechanicManager.java:250)
at com.sk89q.craftbook.bukkit.MechanicListenerAdapter.onPlayerInteract(MechanicListenerAdapter.java:106)
at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 17 more
In addition, you can't teleport around riding the pet or wearing it as a hat. Teleportation such as /tp, /home, and /spawn.