EchoPet

EchoPet

882k Downloads

NPE upon riding a pet

1Rogue opened this issue ยท 1 comments

commented
[02:06:49 INFO]: Rogue issued server command: /pet ride
[02:06:49 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet ride' in io.github.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:184) ~[hub.jar:git-Spigot-1368]
        at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:719) ~[hub.jar:git-Spigot-1368]
        at net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(PlayerConnection.java:984) [hub.jar:git-Spigot-1368]
        at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:829) [hub.jar:git-Spigot-1368]
        at net.minecraft.server.v1_7_R2.PacketPlayInChat.a(PacketPlayInChat.java:28) [hub.jar:git-Spigot-1368]
        at net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(PacketPlayInChat.java:65) [hub.jar:git-Spigot-1368]
        at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [hub.jar:git-Spigot-1368]
        at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [hub.jar:git-Spigot-1368]
        at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:703) [hub.jar:git-Spigot-1368]
        at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [hub.jar:git-Spigot-1368]
        at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [hub.jar:git-Spigot-1368]
        at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [hub.jar:git-Spigot-1368]
        at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [hub.jar:git-Spigot-1368]
Caused by: java.lang.NullPointerException
        at io.github.dsh105.echopet.compat.api.util.ParticleUtil.createPacket(ParticleUtil.java:46) ~[?:?]
        at io.github.dsh105.echopet.compat.api.util.ParticleUtil.showWithData(ParticleUtil.java:89) ~[?:?]
        at io.github.dsh105.echopet.api.pet.Pet.ownerRidePet(Pet.java:282) ~[?:?]
        at io.github.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:253) ~[?:?]
        at io.github.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[hub.jar:git-Spigot-1368]
        ... 12 more
commented

Thanks for reporting! :)