Fehler im Plugin

  • Ich bekomme folgenden Fehler:


    [16:21:31 WARN]: [BedWars] Task #3 for BedWars v1.0 generated an exception

    java.lang.NullPointerException

    at de.niklasp.utils.ScoreboardUtils.updateScoreboard(ScoreboardUtils.java:49) ~[?:?]

    at de.niklasp.bedwars.Main$1.run(Main.java:57) ~[?:?]

    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot.jar:git-Spigot-db6de12-18fbb24]

    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]

    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

    >


    https://pastebin.com/W9nWTHar

    CODE: