mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-12 18:42:00 +01:00
Fixes #960
This commit is contained in:
parent
7d1c47c2fc
commit
cfa5a04e3a
@ -73,6 +73,7 @@ public class MVWorld implements MultiverseWorld {
|
||||
if (this.props.spawnLocation instanceof NullLocation) {
|
||||
this.props.spawnLocation = new SpawnLocation(worldSpawnLocation);
|
||||
} else {
|
||||
this.props.spawnLocation.setWorld(world);
|
||||
if (plugin.getBlockSafety().playerCanSpawnHereSafely(this.props.spawnLocation)) {
|
||||
this.props.spawnLocation = new SpawnLocation(worldSpawnLocation);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user