Merge pull request #2242 from wellnesscookie/master

Fixes alias not clearing after cloning the world
This commit is contained in:
Jeremy Wood 2020-05-05 21:14:12 -04:00 committed by GitHub
commit 5f916fbf27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}