mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-25 12:05:14 +01:00
Now you can't set "respawnworld" to invalid values.
This commit is contained in:
parent
659301a808
commit
76629ebd25
@ -701,6 +701,7 @@ public class MVWorld implements MultiverseWorld {
|
||||
*/
|
||||
@Override
|
||||
public boolean setRespawnToWorld(String respawnToWorld) {
|
||||
if (!this.plugin.getMVWorldManager().isMVWorld(respawnToWorld)) return false;
|
||||
return this.setKnownProperty("respawn", respawnToWorld, null);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user