TTA sendTitle Error

Discussion in 'Resource Discussions' started by Ouls, Feb 3, 2019.

  1. Hey!
    I love this plugin and don't want to change it, because of this, I'm getting this error in the console:
    Code:
    java.lang.NullPointerException
            at de.Herbystar.TTA.TTA_Methods.sendTitle(TTA_Methods.java:88) ~[?:?]
            at net.finalpvp.kitpvp.Commands.TPS$1.run(TPS.java:27) ~[?:?]
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
    This is my code what's causing it:
    Code:
    if (i == 0) {
                            // This is the line what's causing it
                            TTA_Methods.sendTitle(player, "§7▃▄▅▆▇█", 0, 10, 0, "§7Checking Current TPS", 0, 10, 0);
                        }
    I don't know why this is causing this but I really need help!
     
  2. Thanks for the report.
    Your code looks alright and it seems to be an error with the internal version check of TTA.
    Could you please send me your full console log.
    Did you install TTA and if so what version?

    Best Regards,
    herby2212
     
Loading...

Share This Page