Remove unused field

This commit is contained in:
themode 2021-03-26 11:24:09 +01:00
parent 1ceffd8540
commit 71f2e885a4

View File

@ -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;