Combatlog - Sentinel problems #67


  • Defect
Open
  • Forge_User_82674029 created this issue Jun 28, 2020

    Sentinel is a plugin allowing for walking and PVP'ing NPC's on your server. When the sentinel NPC hits me (Morn in this example), it creates a combatlog. This is good! However, when it does that, this exception is also generated:

     

    [Server thread/WARN]: [CombatLog] Task #1230 for CombatLog v2.3.0 generated an exception
    java.lang.NullPointerException
    at me.iiSnipez.CombatLog.CombatLog$2.run(CombatLog.java:251) ~[?:?]
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352) [patched.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:783) [patched.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-PaperSpigot-"4c7641d"]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-PaperSpigot-"4c7641d"]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]

     

    Practically, the display with "x seconds left till out of combat" disappears, and after reaching a time left of 0, these numbers go negative and combatlog keeps denying access to fly, tp, etc.

     

    You have to either defeat the bot or get into a safezone/non-pvp zone to fix the issue. Every time the bot hits you, combatlog generates the error message above.

     

    I'm using 1.8.8 PaperSpigot, Java 8.

  • Forge_User_82674029 added a tag Defect Jun 28, 2020

To post a comment, please login or register a new account.