mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Fixed isInList
This commit is contained in:
parent
145b0be2f3
commit
5f19cbf17b
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ public class WorldsHolder {
|
||||||
* @return true if world is loaded or mirrored. false if not listed
|
* @return true if world is loaded or mirrored. false if not listed
|
||||||
*/
|
*/
|
||||||
public boolean isInList(String worldName) {
|
public boolean isInList(String worldName) {
|
||||||
if (worldsData.containsKey(worldName.toLowerCase()) || mirrorsGroup.containsKey(worldName.toLowerCase())) {
|
if (worldsData.containsKey(worldName.toLowerCase()) || mirrorsGroup.containsKey(worldName.toLowerCase()) || mirrorsUser.containsKey(worldName.toLowerCase())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue