geforkt von Mirrors/Paper
SPIGOT-5930: Add PlayerRespawnEvent#isAnchorSpawn
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
7d66dc54c4
Commit
bd9f850346
@ -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