(NPE in the GeneratorPlotter for worlds with a null generator)
This commit is contained in:
main() 2012-08-20 10:22:39 +02:00
parent e6f7ba5ac9
commit b909af873d
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
public int getValue() {
int count = 0;
for (MultiverseWorld w : core.getMVWorldManager().getMVWorlds())
if (w.getGenerator().equals(gen))
if (gen.equals(w.getGenerator()))
count++;
core.log(Level.FINE, String.format("Tracking %d worlds of type %s", count, gen));
return count;