Update ServerHider.plugin.js

This commit is contained in:
Mirco Wittrien 2019-05-09 11:38:49 +02:00
parent 5667eac781
commit 98bb8d85bb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}