Set broken mojang services to green until their API is fixed.

This commit is contained in:
Daniel Scalzi
2020-09-13 13:35:49 -04:00
parent 25e7e5aa55
commit c0776dcf61
2 changed files with 6 additions and 1 deletions

View File

@@ -173,6 +173,11 @@ const refreshMojangStatuses = async function(){
for(let i=0; i<statuses.length; i++){
const service = statuses[i]
// Mojang API is broken for these two. https://bugs.mojang.com/browse/WEB-2303
if(service.service === 'sessionserver.mojang.com' || service.service === 'minecraft.net') {
service.status = 'green'
}
if(service.essential){
tooltipEssentialHTML += `<div class="mojangStatusContainer">
<span class="mojangStatusIcon" style="color: ${Mojang.statusToHex(service.status)};">&#8226;</span>