mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-28 01:10:52 +00: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:
parent
fecd5676ce
commit
0d39f9225a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue