Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

spigot respawn player location

@EventHandler
public void playerRespawn(PlayerRespawnEvent e) {
	e.setRespawnLocation(new Location(world, x, y, z, yaw, pitch));
}
 
PREVIOUS NEXT
Tagged: #spigot #respawn #player #location
ADD COMMENT
Topic
Name
2+2 =