geforkt von Mirrors/Paper
SPIGOT-5930: Add PlayerRespawnEvent#isAnchorSpawn
Dieser Commit ist enthalten in:
Ursprung
94eff632f1
Commit
7f6b4f587c
@ -475,7 +475,7 @@
|
||||
+ }
|
||||
+
|
||||
+ Player respawnPlayer = cserver.getPlayer(entityplayer1);
|
||||
+ PlayerRespawnEvent respawnEvent = new PlayerRespawnEvent(respawnPlayer, location, isBedSpawn);
|
||||
+ PlayerRespawnEvent respawnEvent = new PlayerRespawnEvent(respawnPlayer, location, isBedSpawn && !flag2, flag2);
|
||||
+ cserver.getPluginManager().callEvent(respawnEvent);
|
||||
+
|
||||
+ location = respawnEvent.getRespawnLocation();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren