mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 16:24:25 -05:00
Update layers.js
This commit is contained in:
parent
d1b8c7e9f6
commit
17deebf4a5
@ -40,7 +40,7 @@ class Layers {
|
|||||||
await this.pull();
|
await this.pull();
|
||||||
|
|
||||||
const matches = this.layers.filter(condition);
|
const matches = this.layers.filter(condition);
|
||||||
if (matches.length === 1) return matches[0];
|
if (matches.length >= 1) return matches[0];
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user