mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-31 21:48:08 +01:00
Reintroduced two phase chunk sending
This commit is contained in:
parent
de7241ef6c
commit
b75a034b2d
@ -655,6 +655,8 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
|
||||
|
||||
super.setInstance(instance, spawnPosition);
|
||||
|
||||
refreshVisibleChunks();
|
||||
|
||||
if (differentSpawnPos && !firstSpawn) {
|
||||
// Player changed instance at a different position
|
||||
teleport(spawnPosition);
|
||||
@ -2593,6 +2595,10 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
|
||||
private byte displayedSkinParts;
|
||||
private MainHand mainHand;
|
||||
|
||||
public PlayerSettings() {
|
||||
viewDistance = 2;
|
||||
}
|
||||
|
||||
/**
|
||||
* The player game language.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user