TechzoneMC / SonarPet

A fork of EchoPet, updated to 1.11
https://ci.techcable.net/job/SonarPet/
GNU General Public License v3.0
19 stars 16 forks source link

1.8.8 support broken #78

Closed L4BORG closed 7 years ago

L4BORG commented 7 years ago
[13:06:44] [Server thread/INFO]: Player12345 issued server command: /pet bat
[13:06:44] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet bat' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:150) ~[patched.jar:git-TacoSpigot-"65fd35f"]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1194) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1006) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [patched.jar:git-TacoSpigot-"65fd35f"]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-TacoSpigot-"65fd35f"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-TacoSpigot-"65fd35f"]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: com.dsh105.echopet.compat.api.registration.PetRegistrationException: java.lang.IllegalStateException: Failed to create pet object for Player12345
    at com.dsh105.echopet.registration.PetRegistryImpl.performRegistration(PetRegistryImpl.java:142) ~[?:?]
    at com.dsh105.echopet.registration.PetRegistryImpl.spawn(PetRegistryImpl.java:128) ~[?:?]
    at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:157) ~[?:?]
    at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:123) ~[?:?]
    at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
    at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:143) ~[patched.jar:git-TacoSpigot-"65fd35f"]
    ... 14 more
Caused by: java.lang.IllegalStateException: Failed to create pet object for Player12345
    at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:89) ~[?:?]
    at com.dsh105.echopet.registration.PetRegistryImpl.lambda$spawn$10(PetRegistryImpl.java:128) ~[?:?]
    at com.dsh105.echopet.registration.PetRegistryImpl.performRegistration(PetRegistryImpl.java:140) ~[?:?]
    at com.dsh105.echopet.registration.PetRegistryImpl.spawn(PetRegistryImpl.java:128) ~[?:?]
    at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:157) ~[?:?]
    at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:123) ~[?:?]
    at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
    at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:143) ~[patched.jar:git-TacoSpigot-"65fd35f"]
    ... 14 more
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_111]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_111]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_111]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_111]
    at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:87) ~[?:?]
    at com.dsh105.echopet.registration.PetRegistryImpl.lambda$spawn$10(PetRegistryImpl.java:128) ~[?:?]
    at com.dsh105.echopet.registration.PetRegistryImpl.performRegistration(PetRegistryImpl.java:140) ~[?:?]
    at com.dsh105.echopet.registration.PetRegistryImpl.spawn(PetRegistryImpl.java:128) ~[?:?]
    at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:157) ~[?:?]
    at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:123) ~[?:?]
    at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
    at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:143) ~[patched.jar:git-TacoSpigot-"65fd35f"]
    ... 14 more
Caused by: java.lang.AssertionError: Unexpected number of fields to clear: []
    at net.techcable.sonarpet.nms.versions.v1_8_R3.NMSEntityInsentientImpl.clearGoals(NMSEntityInsentientImpl.java:57) ~[?:?]
    at net.techcable.sonarpet.nms.entity.EntityInsentientPet.setPathfinding(EntityInsentientPet.java:161) ~[?:?]
    at net.techcable.sonarpet.nms.entity.EntityInsentientPet.initiateEntityPet(EntityInsentientPet.java:75) ~[?:?]
    at com.dsh105.echopet.registration.PetRegistryImpl.spawnEntity(PetRegistryImpl.java:197) ~[?:?]
    at com.dsh105.echopet.api.pet.Pet.<init>(Pet.java:68) ~[?:?]
    at com.dsh105.echopet.api.pet.type.BatPet.<init>(BatPet.java:33) ~[?:?]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_111]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_111]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_111]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_111]
    at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createFor(PetRegistrationEntry.java:87) ~[?:?]
    at com.dsh105.echopet.registration.PetRegistryImpl.lambda$spawn$10(PetRegistryImpl.java:128) ~[?:?]
    at com.dsh105.echopet.registration.PetRegistryImpl.performRegistration(PetRegistryImpl.java:140) ~[?:?]
    at com.dsh105.echopet.registration.PetRegistryImpl.spawn(PetRegistryImpl.java:128) ~[?:?]
    at com.dsh105.echopet.compat.api.entity.PetType.getNewPetInstance(PetType.java:157) ~[?:?]
    at com.dsh105.echopet.api.PetManager.createPet(PetManager.java:123) ~[?:?]
    at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:411) ~[?:?]
    at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:46) ~[?:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:143) ~[patched.jar:git-TacoSpigot-"65fd35f"]
    ... 14 more