mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 11:37:30 +02:00
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
This commit is contained in:
@@ -176,7 +176,7 @@ public class Essentials extends JavaPlugin
|
|||||||
pm.registerEvent(Type.PLAYER_INTERACT, jailPlayerListener, Priority.High, this);
|
pm.registerEvent(Type.PLAYER_INTERACT, jailPlayerListener, Priority.High, this);
|
||||||
attachEcoListeners();
|
attachEcoListeners();
|
||||||
|
|
||||||
if (settings.isNetherEnabled())
|
if (settings.isNetherEnabled() && getServer().getWorlds().size() < 2)
|
||||||
{
|
{
|
||||||
getServer().createWorld(settings.getNetherName(), World.Environment.NETHER);
|
getServer().createWorld(settings.getNetherName(), World.Environment.NETHER);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user