Skip to content

Commit

Permalink
chore: use strict equality
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayerOrnstein committed Dec 3, 2024
1 parent 3ed775b commit 080795f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/parser.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ class Parser {
applyMasterable(item) {
item.masterable = masterableCategories.includes(item.category);

if (item.type?.includes('Component') || item.category == 'Pets') {
if (item.type?.includes('Component') || item.category === 'Pets') {
const regex =
/^((?=.*Amp)|(?=.*Modular))(?=.*Barrel).*$|^(?=.*Pet)(?=.*Head).*$|PetPowerSuit|PvPVariantTip|^(?=.*Hoverboard)(?=.*Deck).*$/;
item.masterable = regex.test(item.uniqueName);
Expand Down

0 comments on commit 080795f

Please sign in to comment.