Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
Fixed spawn location offset.
Dieser Commit ist enthalten in:
Ursprung
0648302078
Commit
cd1c3858eb
@ -232,7 +232,7 @@ public class ServerConfigurationManager {
|
|||||||
if (location == null) {
|
if (location == null) {
|
||||||
cw = (CraftWorld) this.server.server.getWorlds().get(0);
|
cw = (CraftWorld) this.server.server.getWorlds().get(0);
|
||||||
chunkcoordinates = cw.getHandle().getSpawn();
|
chunkcoordinates = cw.getHandle().getSpawn();
|
||||||
location = new Location(cw, chunkcoordinates.x, chunkcoordinates.y, chunkcoordinates.z);
|
location = new Location(cw, chunkcoordinates.x + 0.5, chunkcoordinates.y, chunkcoordinates.z + 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
Player respawnPlayer = cserver.getPlayer(entityplayer);
|
Player respawnPlayer = cserver.getPlayer(entityplayer);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren