Update ServerHider.plugin.js
This commit is contained in:
parent
5667eac781
commit
98bb8d85bb
|
@ -284,7 +284,7 @@ class ServerHider {
|
|||
|
||||
isInFolder (id) {
|
||||
if (!BDFDB.isPluginEnabled("ServerFolders")) return false;
|
||||
for (let folder in BDFDB.loadAllData(this, "folders")) if ((folder.servers || []).includes(id)) return true;
|
||||
for (let folder in BDFDB.loadAllData("ServeFolders", "folders")) if ((folder.servers || []).includes(id)) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue