Error Failed to save player data for.....

Discussion in 'Spigot Help' started by BlekDokk, Jun 22, 2021.

  1. Hi his error spamming me into console please help.

    Failed to save player data for BlekDokk
    net.minecraft.server.v1_16_R3.ReportedException: Saving entity NBT
    at net.minecraft.server.v1_16_R3.Entity.save(Entity.java:2022) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at net.minecraft.server.v1_16_R3.WorldNBTStorage.save(WorldNBTStorage.java:37) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at net.minecraft.server.v1_16_R3.PlayerList.savePlayerFile(PlayerList.java:571) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at net.minecraft.server.v1_16_R3.PlayerList.disconnect(PlayerList.java:622) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1938) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at net.minecraft.server.v1_16_R3.NetworkManager.handleDisconnection(NetworkManager.java:713) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at net.minecraft.server.v1_16_R3.ServerConnection.c(ServerConnection.java:193) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1582) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:437) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1402) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1134) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:292) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    at java.lang.Thread.run(Thread.java:832) [?:?]
    Caused by: java.lang.NullPointerException: Cannot invoke "org.bukkit.World.getUID()" because the return value of "org.bukkit.Location.getWorld()" is null
    at net.minecraft.server.v1_16_R3.Entity.save(Entity.java:2002) ~[patched_1.16.5.jar:git-Tuinity-"901ac35"]
    ... 12 mor

    Using 1.16.5 version
     
  2. Not sure if this is your plugin, but the stack trace says that it can't get the id of the world, because the location getWorld() method returned null.