mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-08 17:37:42 +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() {
|
public int getNextTeleportId() {
|
||||||
return teleportId.getAndIncrement();
|
return teleportId.incrementAndGet();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getLastSentTeleportId() {
|
public int getLastSentTeleportId() {
|
||||||
|
Loading…
Reference in New Issue
Block a user