From d9a72756822a60f189a5b5c882695f77c2a22921 Mon Sep 17 00:00:00 2001 From: Jeremy Wood Date: Tue, 21 Aug 2012 15:06:55 -0400 Subject: [PATCH] Stop checking for null worlds. --- .../com/onarandombox/MultiverseCore/utils/WorldManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/onarandombox/MultiverseCore/utils/WorldManager.java b/src/main/java/com/onarandombox/MultiverseCore/utils/WorldManager.java index 0f7baa60..7d2ce8ec 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/utils/WorldManager.java +++ b/src/main/java/com/onarandombox/MultiverseCore/utils/WorldManager.java @@ -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;