player.getBedSpawnLocation() returns null after log out/in in secondary worlds.

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None

      When a plugin calls player.getBedSpawnLocation(), and that world is not the server default world (which stores the playerdata folder) it will return null after the player has logged out and back in.

      To reproduce:

      1) Have server with two normal worlds.
      2) Have player set bedspawn in world that is not the one with a playerdata folder.
      3) Have player log out, then back in.
      4) Test the player.getBedSpawnLocation()
      5) Find it null.

            Assignee:
            Thinkofname
            Reporter:
            Llm Dl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: