Bug: Doppleganger mechanic doesn't work

Discussion in 'Bug Reports' started by Ldii, Mar 26, 2020.

  1. Ldii

    Ldii Member
    Premium Supporter Supporter

    Joined:
    Aug 14, 2018
    Messages:
    53
    Likes Received:
    4
    Enter a brief description of what is broken Doppleganger mechanic doesn't work

    What version of Minecraft are you using? 1.15.2

    What server jar are you using? Spigot

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? 4.9.0

    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!
    Doppleganger mechanic doesn't work. Throws an error in console.
    Code:
    [15:00:20 ERROR]: [MythicMobs] [SCHEDULER] Exception thrown whilst executing task
    [15:00:20 WARN]: java.lang.NullPointerException
    [15:00:20 WARN]:     at io.lumine.xikage.mythicmobs.skills.mechanics.DopplegangerMechanic.castAtEntity(DopplegangerMechanic.java:45)
    [15:00:20 WARN]:     at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$5(SkillMechanic.java:445)
    [15:00:20 WARN]:     at java.lang.Iterable.forEach(Unknown Source)
    [15:00:20 WARN]:     at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:441)
    [15:00:20 WARN]:     at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeSkills$1(SkillMechanic.java:392)
    [15:00:20 WARN]:     at io.lumine.xikage.mythicmobs.utils.tasks.Scheduler.lambda$wrapRunnable$5(Scheduler.java:69)
    [15:00:20 WARN]:     at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source)
    [15:00:20 WARN]:     at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:81)
    [15:00:20 WARN]:     at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:394)
    [15:00:20 WARN]:     at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1036)
    [15:00:20 WARN]:     at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:406)
    [15:00:20 WARN]:     at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:984)
    [15:00:20 WARN]:     at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:824)
    [15:00:20 WARN]:     at java.lang.Thread.run(Unknown Source)
    
    Example Configurations
    - doppleganger @owner ~onSpawn
     
    #1

Share This Page