Fix default dimension

This commit is contained in:
themode 2021-01-07 03:49:55 +01:00
parent 706a36b30a
commit 0fa82aff1f

View File

@ -682,7 +682,7 @@ public class Player extends LivingEntity implements CommandSender {
// Send the new dimension if player isn't in any instance or if the dimension is different
{
final DimensionType instanceDimensionType = instance.getDimensionType();
if (this.instance == null || dimensionType != instanceDimensionType) {
if (dimensionType != instanceDimensionType) {
sendDimension(instanceDimensionType);
}
}