Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Commit 08f1914

Browse files
committed
fixes #303
making sure that empty races match everything
1 parent be67aab commit 08f1914

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mods/tier.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ idrinth.tier = {
391391
return true;
392392
}
393393
}
394-
return false;
394+
return regExp.toString () === '/(?:)/i';
395395
};
396396
if ( ( !data.name || data.name.length === 0 ) && ( !data.type || data.type.length === 0 ) ) {
397397
return [ ];

0 commit comments

Comments
 (0)