mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-09 09:57:45 +01:00
Merge pull request #386 from Moulberry/position_fix
Fix teleport id position desynchronization
This commit is contained in:
commit
fb23b4bc27
@ -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