Stop checking for null worlds.

This commit is contained in:
Jeremy Wood 2012-08-21 15:06:55 -04:00
parent 80f6a0159c
commit d9a7275682
1 changed files with 3 additions and 0 deletions

View File

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