ProtocolLib

3M Downloads

Could not pass event EntityDamageEvent to ProtocolLib causes crashes

vonderkhein opened this issue · 0 comments

commented

[13:18:50] [Server thread/ERROR]: Could not pass event EntityDamageEvent to ProtocolLib v5.1.0
java.lang.ClassCastException: class org.bukkit.event.entity.EntityDamageEvent cannot be cast to class org.bukkit.event.entity.EntityDamageByEntityEvent (org.bukkit.event.entity.EntityDamageEvent and org.bukkit.event.entity.EntityDamageByEntityEvent are in unnamed module of loader java.net.URLClassLoader @4c98385c)
at net.md_5.bungee.api.ChatTypeMessage.onEntityDamage(Unknown Source) ~[★ ProtocolLib.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor22.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[plazma-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[plazma-api-1.20.1-R0.1-SNAPSHOT.jar:git-Plazma-"2a5629d"]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[plazma-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:62) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[plazma-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:264) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:1227) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:1200) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:1023) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:1261) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at net.minecraft.world.entity.LivingEntity.damageEntity0(LivingEntity.java:2260) ~[?:?]
at net.minecraft.world.entity.player.Player.damageEntity0(Player.java:1099) ~[?:?]
at net.minecraft.world.entity.LivingEntity.hurt(LivingEntity.java:1479) ~[?:?]
at net.minecraft.world.entity.player.Player.hurt(Player.java:1006) ~[?:?]
at net.minecraft.server.level.ServerPlayer.hurt(ServerPlayer.java:1194) ~[?:?]
at net.minecraft.world.effect.MobEffect.applyEffectTick(MobEffect.java:66) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at net.minecraft.world.effect.MobEffectInstance.applyEffect(MobEffectInstance.java:243) ~[?:?]
at net.minecraft.world.effect.MobEffectInstance.tick(MobEffectInstance.java:210) ~[?:?]
at net.minecraft.world.entity.LivingEntity.tickEffects(LivingEntity.java:931) ~[?:?]
at net.minecraft.world.entity.LivingEntity.baseTick(LivingEntity.java:510) ~[?:?]
at net.minecraft.world.entity.Entity.tick(Entity.java:855) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:3056) ~[?:?]
at net.minecraft.world.entity.player.Player.tick(Player.java:305) ~[?:?]
at net.minecraft.server.level.ServerPlayer.doTick(ServerPlayer.java:808) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:376) ~[?:?]
at net.minecraft.network.Connection.tick(Connection.java:611) ~[?:?]
at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:234) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1617) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:492) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1422) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1193) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[plazma-1.20.1.jar:git-Plazma-"2a5629d"]
at java.lang.Thread.run(Unknown Source) ~[?:?]