Hitting a dog with "Friendly Fire" set to "True" crashes a server
Opened this issue ยท 1 comments
Environment And Mod Information:
- Minecraft Version: 1.16.4
- Forge Version: 35.1.13
- Doggy Talents Version: 2.0.1.1
- Java Version: 1.8.0_252
- Operating System (OS): Windows 10 64bit 1909
Logs
java.lang.NoSuchMethodError: doggytalents.api.inferface.AbstractDogEntity.func_184215_y(Lnet/minecraft/entity/Entity;)Z
at doggytalents.common.talent.WolfMountTalent.hitByEntity(WolfMountTalent.java:103) ~[doggytalents:2.0.1.1] {re:classloading}
at doggytalents.common.entity.DogEntity.func_85031_j(DogEntity.java:955) ~[doggytalents:2.0.1.1] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.entity.player.PlayerEntity.func_71059_n(PlayerEntity.java:1046) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.entity.player.ServerPlayerEntity.func_71059_n(ServerPlayerEntity.java:1291) ~[?:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.network.play.ServerPlayNetHandler.func_147340_a(ServerPlayNetHandler.java:1205) ~[?:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.network.play.client.CUseEntityPacket.func_148833_a(SourceFile:74) ~[?:?] {re:classloading}
at net.minecraft.network.play.client.CUseEntityPacket.func_148833_a(SourceFile:13) ~[?:?] {re:classloading}
at net.minecraft.network.PacketThreadUtil.func_225383_a(SourceFile:21) ~[?:?] {re:classloading}
at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18) ~[?:?] {re:classloading}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) ~[?:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?] {re:classloading}
at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:733) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:159) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) ~[?:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:716) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:710) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127) ~[?:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:696) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:645) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:232) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252] {}
Issue Description:
When playing a server, hitting (Left clicking) on a dog with its "Friendly Fire" option set to true will cause the server to crash and output that exception.
Steps to reproduce:
- Set a dog's "Friendly Fire" option to true
- Hit the dog with anything or nothing in your hand