feat: add "Planet X, Andromeda" to great divide place allowlist

This commit is contained in:
Index 2024-06-29 05:48:43 -05:00
parent 7207f229d2
commit 2249044de7

View file

@ -2,6 +2,11 @@ let EventOngoing = true;
let Team;
let HasTeam = true;
const PlaceAllowlist = [
'9656',
'9757'
];
(async () => {
Utilities = await import(chrome.runtime.getURL('resources/utils.js'))
.default
@ -25,7 +30,7 @@ let HasTeam = true;
}
if (new Date().getMonth().toString()+new Date().getDate().toString() >= 714) { EventOngoing = false }
if (Settings.TheGreatDivide.UnbalancedIndicatorOn === true && window.location.pathname.split('/')[1] === 'places' && window.location.pathname.split('/')[2] === '9656') {
if (Settings.TheGreatDivide.UnbalancedIndicatorOn === true && window.location.pathname.split('/')[1] === 'places' && PlaceAllowlist.indexOf(window.location.pathname.split('/')[2]) !== -1) {
UnbalancedServerMarkers()
}