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