mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-07 16:01:55 +01:00
Merge branch 'master' into position-cleanup
This commit is contained in:
commit
679baba570
@ -656,6 +656,7 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
super.setInstance(instance, spawnPosition);
|
super.setInstance(instance, spawnPosition);
|
||||||
|
this.lastSyncedPlayerPosition.set(position);
|
||||||
|
|
||||||
if (!position.isSimilar(spawnPosition) && !firstSpawn) {
|
if (!position.isSimilar(spawnPosition) && !firstSpawn) {
|
||||||
// Player changed instance at a different position
|
// Player changed instance at a different position
|
||||||
|
Loading…
Reference in New Issue
Block a user