player.spigot().respawn() make crash the server

XMLWordPrintable

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

      git-Spigot-dd155ed-23ad72b
      My own plugin

      I use this code:

      @EventHandler
      	public void onRespaw(PlayerRespawnEvent event) {
      		
      	event.getplayer().spigot().respawn();
      		
      	}
      

      And when a player die, the server crash with no error.

            Assignee:
            Unassigned
            Reporter:
            NoƩ Lebrun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: