Reintroduced two phase chunk sending

This commit is contained in:
Németh Noel 2021-05-07 02:24:28 +02:00
parent de7241ef6c
commit b75a034b2d
1 changed files with 6 additions and 0 deletions

View File

@ -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.
*