MagmaGuy/EliteMobs

Could not pass event EntityDamageByEntityEvent to EliteMobs v8.5.3 java.lang.IllegalArgumentException: Health must be between 0 and 20.0, but was 33.0. (attribute base value: 20.0, player: )

BluishBlueMoon opened this issue · 5 comments

This issue might not be related to elite mobs!!
However, I am guessing that the extra health given by elite mobs may not be globally recognized by other plugins !!!!
(( Not sure ))

EliteMobs version: 8.5.3

other plugins might be involved:

  • Mythical Races Premium

see the console msg below:

[01:41:40 ERROR]: Could not pass event EntityDamageByEntityEvent to EliteMobs v8.5.3
java.lang.IllegalArgumentException: Health must be between 0 and 20.0, but was 33.0. (attribute base value: 20.0, player: BlueM00N)
at org.bukkit.craftbukkit.v1_19_R3.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:112) ~[purpur-1.19.4.jar:git-Purpur-1967]
at com.magmaguy.elitemobs.items.potioneffects.custom.Heal.doHeal(Heal.java:20) ~[EliteMobs (20).jar:?]
at com.magmaguy.elitemobs.items.potioneffects.PlayerPotionEffects.doOnHitPotionEffect(PlayerPotionEffects.java:117) ~[EliteMobs (20).jar:?]
at com.magmaguy.elitemobs.items.potioneffects.PlayerPotionEffects.onPlayerHitWithPotionEffect(PlayerPotionEffects.java:106) ~[EliteMobs (20).jar:?]