NearestPlayer issue

Discussion in 'Bug Reports' started by Zughy, Oct 11, 2017 at 2:12 PM.

  1. Zughy

    Zughy Member

    Joined:
    Aug 6, 2016
    Messages:
    41
    Likes Received:
    2
    Code:
    11.10 23:13:08 [Server] WARN [MythicMobs] Plugin MythicMobs v4.2.0-SNAPSHOT generated an exception while executing task 126
    11.10 23:13:08 [Server] INFO java.lang.NullPointerException: null
    11.10 23:13:08 [Server] INFO at io.lumine.xikage.mythicmobs.skills.targeters.MTNearestPlayer.getEntities(MTNearestPlayer.java:29) ~[?:?]
    11.10 23:13:08 [Server] INFO at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:260) ~[?:?]
    11.10 23:13:08 [Server] INFO at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:223) ~[?:?]
    11.10 23:13:08 [Server] INFO at io.lumine.xikage.mythicmobs.skills.AbstractSkill.ExecuteTimerSkills(AbstractSkill.java:328) ~[?:?]
    11.10 23:13:08 [Server] INFO at io.lumine.xikage.mythicmobs.skills.AbstractSkill.RunTimerSkills(AbstractSkill.java:298) ~[?:?]
    11.10 23:13:08 [Server] INFO at io.lumine.xikage.mythicmobs.clock.MythicMobsAsyncClock.run(MythicMobsAsyncClock.java:19) ~[?:?]
    11.10 23:13:08 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[server.jar:git-Paper-1196]
    11.10 23:13:08 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [server.jar:git-Paper-1196]
    11.10 23:13:08 [Server] INFO at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [server.jar:git-Paper-1196]
    11.10 23:13:08 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
    11.10 23:13:08 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
    11.10 23:13:08 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
    I.. guess it happens when the "NearestPlayer" target returns null..?

    Paper spigot 1.12.1, MM 4.2.0
     
    #1

Share This Page