Bug: Could not Pass EntityDamageByEntityEvent

Discussion in 'Bug Reports' started by jhezreel gellado, Aug 2, 2019.

  1. jhezreel gellado

    jhezreel gellado New Member
    Supporter

    Joined:
    Jul 30, 2019
    Messages:
    15
    Likes Received:
    0
    Enter a brief description of what is broken Could not Pass EntityDamageByEntityEvent

    What version of Minecraft are you using? 1.13.1

    What server jar are you using? Spigot

    What is this a bug report for? Artifacts

    What version of the plugin are you using? 1.0.0-SNAPSHOT

    Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
    MythicMobs-4.7.0-SNAPSHOT.jar
    MythicArtifacts-1.0.0-SNAPSHOT.jar
    Spigot 1.14.3

    [03:18:28] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to mcMMO v2.1.97
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:221) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:897) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:796) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:929) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.EntityLiving.damageEntity0(EntityLiving.java:1619) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.EntityLiving.damageEntity(EntityLiving.java:1073) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.entity.CraftLivingEntity.damage(CraftLivingEntity.java:245) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at io.lumine.xikage.mythicmobs.adapters.bukkit.BukkitSkillAdapter.doDamage(BukkitSkillAdapter.java:91) ~[?:?]
    at io.lumine.xikage.mythicmobs.skills.mechanics.DamageMechanic.castAtEntity(DamageMechanic.java:43) ~[?:?]
    at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$3(SkillMechanic.java:394) ~[?:?]
    at java.lang.Iterable.forEach(Unknown Source) [?:1.8.0_221]
    at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:390) [MythicMobs-4.7.0-SNAPSHOT.jar:?]
    at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:356) [MythicMobs-4.7.0-SNAPSHOT.jar:?]
    at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:264) [MythicMobs-4.7.0-SNAPSHOT.jar:?]
    at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:275) [MythicMobs-4.7.0-SNAPSHOT.jar:?]
    at io.lumine.xikage.mythicmobs.skills.AbstractSkill$DelayedSkill.run(AbstractSkill.java:455) [MythicMobs-4.7.0-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:394) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1011) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:396) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:959) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:804) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
    Caused by: java.lang.ClassCastException: com.gmail.nossr50.datatypes.meta.OldName cannot be cast to com.gmail.nossr50.datatypes.meta.OldName
    at com.gmail.nossr50.util.skills.CombatUtils.fixNames(CombatUtils.java:390) ~[?:?]
    at com.gmail.nossr50.listeners.EntityListener.onEntityDamageByEntity(EntityListener.java:441) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor680.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_221]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    ... 26 more
    [03:18:28] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to mcMMO v2.1.97
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:221) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:897) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:796) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:929) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.EntityLiving.damageEntity0(EntityLiving.java:1619) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.EntityLiving.damageEntity(EntityLiving.java:1073) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.entity.CraftLivingEntity.damage(CraftLivingEntity.java:245) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at io.lumine.xikage.mythicmobs.adapters.bukkit.BukkitSkillAdapter.doDamage(BukkitSkillAdapter.java:91) ~[?:?]
    at io.lumine.xikage.mythicmobs.skills.mechanics.DamageMechanic.castAtEntity(DamageMechanic.java:43) ~[?:?]
    at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$3(SkillMechanic.java:394) ~[?:?]
    at java.lang.Iterable.forEach(Unknown Source) [?:1.8.0_221]
    at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:390) [MythicMobs-4.7.0-SNAPSHOT.jar:?]
    at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:356) [MythicMobs-4.7.0-SNAPSHOT.jar:?]
    at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:264) [MythicMobs-4.7.0-SNAPSHOT.jar:?]
    at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:275) [MythicMobs-4.7.0-SNAPSHOT.jar:?]
    at io.lumine.xikage.mythicmobs.skills.AbstractSkill$DelayedSkill.run(AbstractSkill.java:455) [MythicMobs-4.7.0-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:394) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1011) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:396) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:959) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:804) [spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
    Caused by: java.lang.ClassCastException: com.gmail.nossr50.datatypes.meta.OldName cannot be cast to com.gmail.nossr50.datatypes.meta.OldName
    at com.gmail.nossr50.util.skills.CombatUtils.fixNames(CombatUtils.java:390) ~[?:?]
    at com.gmail.nossr50.listeners.EntityListener.onEntityDamageByEntity(EntityListener.java:441) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor680.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_221]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.14.3.jar:git-Spigot-5e4e7f3-2349feb]
    ... 26 more

    Example Configurations
    Item:
    Swordy:
    Id: Iron_Sword
    Display: '&2Test_Item'
    Options:
    Color:
    Lore:
    - ''
    - '&7Rarity :&r &f&lRare&r'
    - ''
    - '&a A Sword'
    - "&r&6Durability 2500 / 2500"
    - 'Testing'
    Skills:
    - skill{s=Crush} @target ~onUse

    Skill:
    Crush:
    Cooldown: 10
    Conditions:
    Skills:
    - leap{velocity=200} @target
    - delay 1
    - jump{velocity=1} @target
    - delay 10
    - jump{velocity=-100} @target
    - delay 1
    - damage{a=15} @EIR{r=5}
    - effect:explosion @targetlocation
     
    #1
  2. jhezreel gellado

    jhezreel gellado New Member
    Supporter

    Joined:
    Jul 30, 2019
    Messages:
    15
    Likes Received:
    0
    Please close the bug report! I'm really sorry it was actually mcmmo causing the bug when using an artifact sword :(
     
    #2

Share This Page