You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The damage indicator does not work correctly. On version 1.56.0, it gives an error to the console with each damage, on 1.48.0 there is no such thing.
I tried to remove the check, everything works perfectly:
DamageIndicatorListener.kt if (event.entity is Allay) { return }
Error in console: [23:46:30] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to EcoSkills v1.56.0 java.lang.NoClassDefFoundError: org/bukkit/entity/Allay at com.willfp.ecoskills.stats.DamageIndicatorListener.onEntityDamageByEntity(DamageIndicatorListener.kt:43) ~[EcoSkills-1.56.0-all.jar:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor148.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:git-Paper-386] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:248) ~[paper-1.18.2.jar:git-Paper-386] at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:1149) ~[paper-1.18.2.jar:git-Paper-386] at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:1008) ~[paper-1.18.2.jar:git-Paper-386] at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:962) ~[paper-1.18.2.jar:git-Paper-386] at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:1183) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.world.entity.LivingEntity.damageEntity0(LivingEntity.java:2065) ~[?:?] at net.minecraft.world.entity.player.Player.damageEntity0(Player.java:1031) ~[?:?] at net.minecraft.world.entity.LivingEntity.hurt(LivingEntity.java:1346) ~[?:?] at net.minecraft.world.entity.player.Player.hurt(Player.java:938) ~[?:?] at net.minecraft.server.level.ServerPlayer.hurt(ServerPlayer.java:1032) ~[?:?] at net.minecraft.world.entity.Mob.doHurtTarget(Mob.java:1585) ~[?:?] at net.minecraft.world.entity.ai.goal.MeleeAttackGoal.checkAndPerformAttack(MeleeAttackGoal.java:130) ~[?:?] at net.minecraft.world.entity.ai.goal.MeleeAttackGoal.tick(MeleeAttackGoal.java:121) ~[?:?] at net.minecraft.world.entity.ai.goal.WrappedGoal.tick(WrappedGoal.java:63) ~[?:?] at net.minecraft.world.entity.ai.goal.GoalSelector.tickRunningGoals(GoalSelector.java:151) ~[?:?] at net.minecraft.world.entity.Mob.serverAiStep(Mob.java:849) ~[?:?] at net.minecraft.world.entity.LivingEntity.aiStep(LivingEntity.java:3275) ~[?:?] at net.minecraft.world.entity.Mob.aiStep(Mob.java:627) ~[?:?] at net.minecraft.world.entity.monster.Monster.aiStep(Monster.java:44) ~[?:?] at net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:2917) ~[?:?] at net.minecraft.world.entity.Mob.tick(Mob.java:395) ~[?:?] at net.minecraft.world.entity.monster.Spider.tick(Spider.java:85) ~[?:?] at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1135) ~[?:?] at net.minecraft.world.level.Level.guardEntityTick(Level.java:936) ~[?:?] at net.minecraft.server.level.ServerLevel.lambda$tick$5(ServerLevel.java:674) ~[?:?] at net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:42) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:654) ~[?:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1593) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:483) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1456) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-386] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.ClassNotFoundException: org.bukkit.entity.Allay ... 39 more
The text was updated successfully, but these errors were encountered:
The damage indicator does not work correctly. On version 1.56.0, it gives an error to the console with each damage, on 1.48.0 there is no such thing.
I tried to remove the check, everything works perfectly:
DamageIndicatorListener.kt
if (event.entity is Allay) { return }
Error in console:
[23:46:30] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to EcoSkills v1.56.0 java.lang.NoClassDefFoundError: org/bukkit/entity/Allay at com.willfp.ecoskills.stats.DamageIndicatorListener.onEntityDamageByEntity(DamageIndicatorListener.kt:43) ~[EcoSkills-1.56.0-all.jar:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor148.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:git-Paper-386] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:248) ~[paper-1.18.2.jar:git-Paper-386] at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:1149) ~[paper-1.18.2.jar:git-Paper-386] at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:1008) ~[paper-1.18.2.jar:git-Paper-386] at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:962) ~[paper-1.18.2.jar:git-Paper-386] at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:1183) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.world.entity.LivingEntity.damageEntity0(LivingEntity.java:2065) ~[?:?] at net.minecraft.world.entity.player.Player.damageEntity0(Player.java:1031) ~[?:?] at net.minecraft.world.entity.LivingEntity.hurt(LivingEntity.java:1346) ~[?:?] at net.minecraft.world.entity.player.Player.hurt(Player.java:938) ~[?:?] at net.minecraft.server.level.ServerPlayer.hurt(ServerPlayer.java:1032) ~[?:?] at net.minecraft.world.entity.Mob.doHurtTarget(Mob.java:1585) ~[?:?] at net.minecraft.world.entity.ai.goal.MeleeAttackGoal.checkAndPerformAttack(MeleeAttackGoal.java:130) ~[?:?] at net.minecraft.world.entity.ai.goal.MeleeAttackGoal.tick(MeleeAttackGoal.java:121) ~[?:?] at net.minecraft.world.entity.ai.goal.WrappedGoal.tick(WrappedGoal.java:63) ~[?:?] at net.minecraft.world.entity.ai.goal.GoalSelector.tickRunningGoals(GoalSelector.java:151) ~[?:?] at net.minecraft.world.entity.Mob.serverAiStep(Mob.java:849) ~[?:?] at net.minecraft.world.entity.LivingEntity.aiStep(LivingEntity.java:3275) ~[?:?] at net.minecraft.world.entity.Mob.aiStep(Mob.java:627) ~[?:?] at net.minecraft.world.entity.monster.Monster.aiStep(Monster.java:44) ~[?:?] at net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:2917) ~[?:?] at net.minecraft.world.entity.Mob.tick(Mob.java:395) ~[?:?] at net.minecraft.world.entity.monster.Spider.tick(Spider.java:85) ~[?:?] at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1135) ~[?:?] at net.minecraft.world.level.Level.guardEntityTick(Level.java:936) ~[?:?] at net.minecraft.server.level.ServerLevel.lambda$tick$5(ServerLevel.java:674) ~[?:?] at net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:42) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:654) ~[?:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1593) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:483) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1456) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.18.2.jar:git-Paper-386] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-386] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.ClassNotFoundException: org.bukkit.entity.Allay ... 39 more
The text was updated successfully, but these errors were encountered: