9
0
mirror of https://github.com/Xiao-MoMi/Custom-Nameplates.git synced 2025-12-25 09:59:16 +00:00
This commit is contained in:
XiaoMoMi
2023-10-27 03:45:34 +08:00
parent 3aadb20628
commit 21eedb0bba

View File

@@ -193,9 +193,7 @@ public class NamedEntityImpl implements NamedEntity {
@Override
public void move(Player viewer, short x, short y, short z, boolean onGround) {
PacketContainer packet = getMovePacket(x, y, z, onGround);
for (Player all : nem.getNearbyPlayers()) {
CustomNameplates.getProtocolManager().sendServerPacket(all, packet);
}
CustomNameplates.getProtocolManager().sendServerPacket(viewer, packet);
}
@Override