diff --git a/pom.xml b/pom.xml
index 35ebeb9..cb2db52 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
me.lokka30
PhantomWorlds
- 2.0.10
+ 2.0.11
PhantomWorlds
The Robust World Manager for Minecraft Servers
@@ -86,7 +86,7 @@
dev.rollczi
litecommands-core
- 3.3.4
+ 3.4.1
compile
diff --git a/src/main/java/me/lokka30/phantomworlds/managers/WorldManager.java b/src/main/java/me/lokka30/phantomworlds/managers/WorldManager.java
index 33858db..8487483 100644
--- a/src/main/java/me/lokka30/phantomworlds/managers/WorldManager.java
+++ b/src/main/java/me/lokka30/phantomworlds/managers/WorldManager.java
@@ -16,6 +16,7 @@
import java.io.IOException;
import java.util.HashSet;
import java.util.LinkedHashMap;
+import java.util.Locale;
import java.util.Map;
import java.util.UUID;
@@ -59,7 +60,9 @@ public void loadManagedWorlds() {
//noinspection ConstantConditions
for(final String worldName : PhantomWorlds.instance().data.getConfig().getConfigurationSection("worlds-to-load").getKeys(false)) {
- if(worldName.equalsIgnoreCase(defaultWorld) || worldName.startsWith(defaultWorld)) {
+ if(worldName.equalsIgnoreCase(defaultWorld)
+ || worldName.startsWith(defaultWorld) && worldName.toLowerCase(Locale.ROOT).contains("nether")
+ || worldName.startsWith(defaultWorld) && worldName.toLowerCase(Locale.ROOT).contains("end")) {
continue;
}
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index a7c7c3e..1cb60db 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -5,7 +5,7 @@
# / / | `.__/| / | \__/ `._.' / ' / |,' \,' `._.' / /\__ `___,' \___.'
name: 'PhantomWorlds'
-version: '2.0.10'
+version: '2.0.11'
description: 'The Robust World Manager for Minecraft Servers'
authors: [ 'creatorfromhell', 'lokka30' ]
website: 'https://github.com/lokka30/PhantomWorlds'