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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Minor Minor
    • None
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: