This commit is contained in:
MelonHell 2023-12-06 09:55:02 +03:00 committed by Matt Worzala
parent d798a8128e
commit 8fcb53e498
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
this.instance.getEntityTracker().nearbyEntitiesByChunkRange(respawnPosition, Math.min(MinecraftServer.getChunkViewDistance(), settings.getViewDistance()),
EntityTracker.Target.ENTITIES, entity -> {
// Skip refreshing self with a new viewer
if (!entity.getUuid().equals(uuid)) {
if (!entity.getUuid().equals(uuid) && entity.isViewer(this)) {
entity.updateNewViewer(this);
}
});