mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 10:36:06 +01:00
Stop checking for null worlds.
This commit is contained in:
parent
80f6a0159c
commit
d9a7275682
@ -502,6 +502,9 @@ public class WorldManager implements MVWorldManager {
|
||||
*/
|
||||
@Override
|
||||
public MultiverseWorld getMVWorld(String name) {
|
||||
if (name == null) {
|
||||
return null;
|
||||
}
|
||||
MultiverseWorld world = this.worlds.get(name);
|
||||
if (world != null) {
|
||||
return world;
|
||||
|
Loading…
Reference in New Issue
Block a user