mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 16:37:38 +01:00
Fix position desynchronization
This commit is contained in:
parent
4e2da0a93d
commit
0e8109f259
@ -1952,7 +1952,7 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
|
||||
}
|
||||
|
||||
public int getNextTeleportId() {
|
||||
return teleportId.getAndIncrement();
|
||||
return teleportId.incrementAndGet();
|
||||
}
|
||||
|
||||
public int getLastSentTeleportId() {
|
||||
|
Loading…
Reference in New Issue
Block a user