mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-12 17:45:08 +02:00
Fixed isInList
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user