Set broken mojang services to green until their API is fixed.
This commit is contained in:
@@ -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)};">•</span>
|
||||
|
||||
Reference in New Issue
Block a user