📜  spigot 重生玩家位置 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:23.782000             🧑  作者: Mango

代码示例1
@EventHandler
public void playerRespawn(PlayerRespawnEvent e) {
    e.setRespawnLocation(new Location(world, x, y, z, yaw, pitch));
}