Made fauxSleeping persist on death and cross-world teleport.
Dieser Commit ist enthalten in:
Ursprung
8de85b8afb
Commit
7baf5fa484
@ -184,7 +184,8 @@ public class ServerConfigurationManager {
|
||||
entityplayer1.a = entityplayer.a;
|
||||
entityplayer1.displayName = entityplayer.displayName; // CraftBukkit
|
||||
entityplayer1.compassTarget = entityplayer.compassTarget; // CraftBukkit
|
||||
|
||||
entityplayer1.fauxSleeping = entityplayer.fauxSleeping; // CraftBukkit
|
||||
|
||||
if (chunkcoordinates != null) {
|
||||
ChunkCoordinates chunkcoordinates1 = EntityHuman.a(entityplayer.world, chunkcoordinates);
|
||||
|
||||
|
@ -166,6 +166,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
newEntity.locZ = location.getZ();
|
||||
newEntity.displayName = entity.displayName;
|
||||
newEntity.compassTarget = entity.compassTarget;
|
||||
newEntity.fauxSleeping = entity.fauxSleeping;
|
||||
newWorld.u.c((int) location.getBlockX() >> 4, (int) location.getBlockZ() >> 4);
|
||||
|
||||
teleportSuccess = newEntity.a.teleport(location);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren