Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-1802

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Minor
    • None
    • None
    • git-Spigot-dd155ed-23ad72b
      My own plugin

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: