Fix position desynchronization

This commit is contained in:
BuildTools 2021-07-30 17:09:00 +08:00
parent 4e2da0a93d
commit 0e8109f259

View File

@ -1952,7 +1952,7 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
}
public int getNextTeleportId() {
return teleportId.getAndIncrement();
return teleportId.incrementAndGet();
}
public int getLastSentTeleportId() {