diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-15 18:31:36 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-15 18:31:36 +0000 |
commit | 3ba637d9804097a10536b633c7f1d8a763ea386e (patch) | |
tree | 92fc79b6c8f96066b28a5414f44311510b8e8a78 | |
parent | 4a9d3940ef7f6afaed2fb350381ee82d955edecd (diff) | |
download | Essentials-3ba637d9804097a10536b633c7f1d8a763ea386e.tar Essentials-3ba637d9804097a10536b633c7f1d8a763ea386e.tar.gz Essentials-3ba637d9804097a10536b633c7f1d8a763ea386e.tar.lz Essentials-3ba637d9804097a10536b633c7f1d8a763ea386e.tar.xz Essentials-3ba637d9804097a10536b633c7f1d8a763ea386e.zip |
Reverting to old behavior for nether creation. If you use other multiworld plugins, make sure you setup the nether correctly there too.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1496 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Essentials.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java index 777407ff0..68e48ca8c 100644 --- a/Essentials/src/com/earth2me/essentials/Essentials.java +++ b/Essentials/src/com/earth2me/essentials/Essentials.java @@ -176,7 +176,7 @@ public class Essentials extends JavaPlugin pm.registerEvent(Type.PLAYER_INTERACT, jailPlayerListener, Priority.High, this); attachEcoListeners(); - if (settings.isNetherEnabled()) + if (settings.isNetherEnabled() && getServer().getWorlds().size() < 2) { getServer().createWorld(settings.getNetherName(), World.Environment.NETHER); } |