3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 20:40:08 +01:00

Copy displayname when cross-world teleporting

Dieser Commit ist enthalten in:
Erik Broes 2011-03-25 21:22:57 +01:00
Ursprung 9162a654c4
Commit 1eb2f75f53

Datei anzeigen

@ -164,6 +164,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
newEntity.locX = location.getX();
newEntity.locY = location.getY();
newEntity.locZ = location.getZ();
newEntity.displayName = entity.displayName;
newEntity.compassTarget = entity.compassTarget;
newWorld.u.d((int) location.getBlockX() >> 4, (int) location.getBlockZ() >> 4);