Human pet not working
blue89962 opened this issue ยท 4 comments
Human pet doesn't work, i can use every pet, except human. When i choose it it says:
19:23:54 [Server thread/INFO]: blue89962 issued server command: /pet human
19:23:54 [Server thread/ERROR]: null
19:23:54 org.bukkit.command.CommandException: Unhandled exception executing 'pet human' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
19:23:54 at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:179) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
19:23:54 at com.dsh105.echopet.compat.api.util.reflection.SafeConstructor.newInstance(SafeConstructor.java:65) ~[?:?]
19:23:54 at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:140) ~[?:?]
19:23:54 at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
19:23:54 at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:343) ~[?:?]
19:23:54 at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
19:23:54 at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 ... 12 more
19:23:54 Caused by: java.lang.reflect.InvocationTargetException
19:23:54 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_05]
19:23:54 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_05]
19:23:54 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_05]
19:23:54 at java.lang.reflect.Constructor.newInstance(Constructor.java:408) ~[?:1.8.0_05]
19:23:54 at com.dsh105.echopet.compat.api.util.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
19:23:54 at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:140) ~[?:?]
19:23:54 at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
19:23:54 at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:343) ~[?:?]
19:23:54 at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
19:23:54 at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 ... 12 more
19:23:54 Caused by: java.lang.NoSuchMethodError: net.minecraft.util.com.mojang.authlib.GameProfile.getId()Ljava/util/UUID;
19:23:54 at com.dsh105.echopet.api.pet.type.HumanPet.updateName(HumanPet.java:72) ~[?:?]
19:23:54 at com.dsh105.echopet.api.pet.type.HumanPet.setPetName(HumanPet.java:54) ~[?:?]
19:23:54 at com.dsh105.echopet.api.pet.Pet.setPetName(Pet.java:142) ~[?:?]
19:23:54 at com.dsh105.echopet.api.pet.type.HumanPet.setPetName(HumanPet.java:61) ~[?:?]
19:23:54 at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:60) ~[?:?]
19:23:54 at com.dsh105.echopet.api.pet.PacketPet.<init>(PacketPet.java:30) ~[?:?]
19:23:54 at com.dsh105.echopet.api.pet.type.HumanPet.<init>(HumanPet.java:37) ~[?:?]
19:23:54 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_05]
19:23:54 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_05]
19:23:54 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_05]
19:23:54 at java.lang.reflect.Constructor.newInstance(Constructor.java:408) ~[?:1.8.0_05]
19:23:54 at com.dsh105.echopet.compat.api.util.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
19:23:54 at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:140) ~[?:?]
19:23:54 at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
19:23:54 at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:343) ~[?:?]
19:23:54 at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
19:23:54 at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
19:23:54 ... 12 more
19:23:54 [Server thread/INFO]: blue89962 lost connection: Internal Exception: net.minecraft.util.io.netty.handler.codec.EncoderException: java.lang.RuntimeException: An internal error occured.
19:23:54 [Server thread/INFO]: blue89962 left the game.