mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-15 11:04:29 +02:00
Do not list "all_unnamed_worlds" as a selectable world.
This commit is contained in:
@@ -745,6 +745,8 @@ public class WorldsHolder {
|
|||||||
|
|
||||||
for (String world : worldsData.keySet()) {
|
for (String world : worldsData.keySet()) {
|
||||||
|
|
||||||
|
if (!world.equalsIgnoreCase("all_unnamed_worlds")) {
|
||||||
|
|
||||||
// Fetch the relevant world object
|
// Fetch the relevant world object
|
||||||
OverloadedWorldHolder data = getWorldData(world);
|
OverloadedWorldHolder data = getWorldData(world);
|
||||||
|
|
||||||
@@ -780,6 +782,7 @@ public class WorldsHolder {
|
|||||||
list.add(data);
|
list.add(data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user