hollow-cube/dimension-change-part-2

This commit is contained in:
mworzala 2023-07-04 17:57:40 -04:00
parent 7493b640b7
commit b9ce08a509
No known key found for this signature in database
GPG Key ID: B148F922E64797C7

View File

@ -723,9 +723,9 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
}
synchronizePosition(true); // So the player doesn't get stuck
sendPacket(new SpawnPositionPacket(spawnPosition, 0));
if (dimensionChange) {
sendPacket(new SpawnPositionPacket(spawnPosition, 0));
instance.getWorldBorder().init(this);
sendPacket(new TimeUpdatePacket(instance.getWorldAge(), instance.getTime()));
}