Player disconnected when issuing command "/pet human"
BlackBeltPanda opened this issue ยท 1 comments
Server version: CraftBukkit version git-Bukkit-1.7.2-R0.3-b3020jnks
Echopet version: 2.3.4-SNAPSHOT-b435
When a player issues the command "/pet human" or attempts to select the human pet from the pet selector they are disconnected from the server and the following error appears in the log:
null
org.bukkit.command.CommandException: Unhandled exception executing 'pet human' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:179) ~[spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) ~[spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:65) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:141) ~[?:?]
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:409) ~[?:?]
at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
... 12 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_25]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_25]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_25]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_25]
at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:141) ~[?:?]
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:409) ~[?:?]
at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
... 12 more
Caused by: java.lang.NoSuchMethodError: net.minecraft.util.com.mojang.authlib.GameProfile.getId()Ljava/util/UUID;
at com.dsh105.echopet.api.pet.type.HumanPet.updateName(HumanPet.java:72) ~[?:?]
at com.dsh105.echopet.api.pet.type.HumanPet.setPetName(HumanPet.java:54) ~[?:?]
at com.dsh105.echopet.api.pet.Pet.setPetName(Pet.java:160) ~[?:?]
at com.dsh105.echopet.api.pet.type.HumanPet.setPetName(HumanPet.java:61) ~[?:?]
at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:61) ~[?:?]
at com.dsh105.echopet.api.pet.PacketPet.<init>(PacketPet.java:30) ~[?:?]
at com.dsh105.echopet.api.pet.type.HumanPet.<init>(HumanPet.java:37) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_25]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_25]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_25]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_25]
at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:141) ~[?:?]
at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:409) ~[?:?]
at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[spigot.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
... 12 more
Fixed bc772f0 :)