Pets not spawning
Donutnut1 opened this issue ยท 2 comments
I run a bungee network and pets work fine across all servers but one.
I've installed them all exactly the same way and 5 out of 6 servers work.
When a player runs the /pet select command, the GUI comes up but when they select a pet nothing happens. When running the /pet pig command for example, they get 'An internal error occurred while attempting to perform this command' in chat.
27.10 10:50:12 [Server] INFO at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:57) ~[?:?]
27.10 10:50:12 [Server] INFO at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_65]
27.10 10:50:12 [Server] INFO at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_65]
27.10 10:50:12 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_65]
27.10 10:50:12 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_65]
27.10 10:50:12 [Server] INFO Caused by: java.lang.reflect.InvocationTargetException
27.10 10:50:12 [Server] INFO ... 12 more
27.10 10:50:12 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:45) ~[?:?]
27.10 10:50:12 [Server] INFO at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:406) ~[?:?]
27.10 10:50:12 [Server] INFO at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:124) ~[?:?]
27.10 10:50:12 [Server] INFO at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:141) ~[?:?]
27.10 10:50:12 [Server] INFO at com.dsh105.echopet.compat.api.reflection.SafeConstructor.newInstance(SafeConstructor.java:65) ~[?:?]
27.10 10:50:12 [Server] INFO Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
27.10 10:50:12 [Server] INFO at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:184) [spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:850) [spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:1013) [spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:767) ~[spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:188) ~[spigot-1.7.10.jar:git-Spigot-1598]
27.10 10:50:12 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing 'pet pig' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
27.10 10:50:12 [Server] ERROR null
Odd that it doesn't work on just one of them. What version of Spigot/CraftBukkit and EchoPet is it running? Is there anything different about it?