mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-08 09:27:58 +01:00
Remove unused field
This commit is contained in:
parent
1ceffd8540
commit
71f2e885a4
@ -134,7 +134,6 @@ public class Player extends LivingEntity implements CommandSender {
|
||||
private final Set<Player> targetBreakers = Collections.singleton(this);
|
||||
|
||||
// Position synchronization with viewers
|
||||
private long lastPlayerSynchronizationTime;
|
||||
private double lastPlayerSyncX, lastPlayerSyncY, lastPlayerSyncZ;
|
||||
private float lastPlayerSyncYaw, lastPlayerSyncPitch;
|
||||
|
||||
@ -407,8 +406,6 @@ public class Player extends LivingEntity implements CommandSender {
|
||||
|
||||
// Multiplayer sync
|
||||
if (!viewers.isEmpty()) {
|
||||
this.lastPlayerSynchronizationTime = time;
|
||||
|
||||
final boolean positionChanged = position.getX() != lastPlayerSyncX ||
|
||||
position.getY() != lastPlayerSyncY ||
|
||||
position.getZ() != lastPlayerSyncZ;
|
||||
|
Loading…
Reference in New Issue
Block a user