Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Fix bug preventing non bed-reliant spawns from being successfully set. Fixes BUKKIT-2708
Dieser Commit ist enthalten in:
Ursprung
d16f8c5e65
Commit
14f4bd9024
@ -344,7 +344,7 @@ public abstract class ServerConfigurationManagerAbstract {
|
||||
boolean isBedSpawn = false;
|
||||
CraftWorld cworld = (CraftWorld) this.server.server.getWorld(entityplayer.spawnWorld);
|
||||
if (cworld != null && chunkcoordinates != null) {
|
||||
chunkcoordinates1 = EntityHuman.getBed(cworld.getHandle(), chunkcoordinates, flag);
|
||||
chunkcoordinates1 = EntityHuman.getBed(cworld.getHandle(), chunkcoordinates, flag1);
|
||||
if (chunkcoordinates1 != null) {
|
||||
isBedSpawn = true;
|
||||
location = new Location(cworld, chunkcoordinates1.x + 0.5, chunkcoordinates1.y, chunkcoordinates1.z + 0.5);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren