Always create nether if it's enabled in config.

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1475 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-05-15 11:42:15 +00:00
parent 0246d21e69
commit 32989d56b6

View File

@ -176,7 +176,7 @@ public class Essentials extends JavaPlugin
pm.registerEvent(Type.PLAYER_INTERACT, jailPlayerListener, Priority.High, this);
attachEcoListeners();
if (settings.isNetherEnabled() && getServer().getWorlds().size() < 2)
if (settings.isNetherEnabled())
{
getServer().createWorld(settings.getNetherName(), World.Environment.NETHER);
}