mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 16:37:38 +01:00
hollow-cube/dimension-change-part-2
This commit is contained in:
parent
7493b640b7
commit
b9ce08a509
@ -723,9 +723,9 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
synchronizePosition(true); // So the player doesn't get stuck
|
synchronizePosition(true); // So the player doesn't get stuck
|
||||||
sendPacket(new SpawnPositionPacket(spawnPosition, 0));
|
|
||||||
|
|
||||||
if (dimensionChange) {
|
if (dimensionChange) {
|
||||||
|
sendPacket(new SpawnPositionPacket(spawnPosition, 0));
|
||||||
instance.getWorldBorder().init(this);
|
instance.getWorldBorder().init(this);
|
||||||
sendPacket(new TimeUpdatePacket(instance.getWorldAge(), instance.getTime()));
|
sendPacket(new TimeUpdatePacket(instance.getWorldAge(), instance.getTime()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user