Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicDungeons MythicDungeons
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 87
    • Issues 87
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicDungeonsMythicDungeons
  • Issues
  • #150

Closed
Open
Created Nov 08, 2022 by DR34@DR34

[Bug] dsignal mechanic sends this error

When I use the -dsignal{} mechanic in MythicMobs, it sends this error to the console. It might be because the mob I used it on wasn't spawned in the dungeon by a spawner function, but was spawned by another mob that was actually spawned by a function.

java.lang.NullPointerException: Cannot invoke "io.lumine.mythic.api.adapters.AbstractEntity.getWorld()" because the return value of "io.lumine.mythic.api.skills.SkillMetadata.getTrigger()" is null
        at MythicDungeons-1.1.0-SNAPSHOT-b82.jar//net.playavalon.mythicdungeons.mythic.DungeonSignalMechanic.cast(DungeonSignalMechanic.java:29)
        at MythicMobs-5.1.4.jar//io.lumine.mythic.core.skills.SkillMechanic.executeNoTargetSkill(SkillMechanic.java:548)
        at MythicMobs-5.1.4.jar//io.lumine.mythic.core.skills.SkillMechanic.lambda$executeSkills$6(SkillMechanic.java:493)
        at MythicMobs-5.1.4.jar//io.lumine.mythic.core.skills.SkillMechanic.runMechanic(SkillMechanic.java:511)
        at MythicMobs-5.1.4.jar//io.lumine.mythic.core.skills.SkillMechanic.executeSkills(SkillMechanic.java:493)
        at MythicMobs-5.1.4.jar//io.lumine.mythic.core.skills.SkillMechanic.execute(SkillMechanic.java:390)
        at MythicMobs-5.1.4.jar//io.lumine.mythic.core.skills.MetaSkill.execute(MetaSkill.java:284)
        at MythicMobs-5.1.4.jar//io.lumine.mythic.core.skills.AbstractSkill$DelayedSkill.run(AbstractSkill.java:404)
        at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101)
        at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1520)
        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:486)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1444)
        at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1214)
        at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:310)
        at java.base/java.lang.Thread.run(Thread.java:833)
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking