mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-03-12 06:43:05 +01:00
Fixes alias not clearing after cloning the world
This will rather set an alias to an empty string which will automatically be resulted in alias being as same as the name of the cloned world. Previously, it was not working as intended and kept the alias of the oldWorld.
This commit is contained in:
parent
b4b0940918
commit
c70e254dbf
@ -199,7 +199,7 @@ public class WorldManager implements MVWorldManager {
|
||||
MVWorld newWorld = (MVWorld) this.getMVWorld(newName);
|
||||
newWorld.copyValues(this.worldsFromTheConfig.get(oldName));
|
||||
// don't keep the alias the same -- that would be useless
|
||||
newWorld.setAlias(null);
|
||||
newWorld.setAlias("");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user