mirror of
https://github.com/Minestom/Minestom.git
synced 2024-09-29 15:07:36 +02:00
Fix default dimension
This commit is contained in:
parent
706a36b30a
commit
0fa82aff1f
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user