1
0
mirror of https://github.com/Suiranoil/SkinRestorer.git synced 2026-01-16 04:42:12 +00:00

fix invalid isValid logic for ProvidersConfig

This commit is contained in:
2024-11-28 07:24:56 +03:00
parent 7e063977c5
commit 71c826e8b7

View File

@@ -26,9 +26,9 @@ public final class ProvidersConfig {
if (this == ProvidersConfig.DEFAULT)
return true;
return this.mojang == null || !this.mojang.isValid()
|| this.ely_by == null || !this.ely_by.isValid()
|| this.mineskin == null || !this.mineskin.isValid();
return (this.mojang != null && this.mojang.isValid())
&& (this.ely_by != null && this.ely_by.isValid())
&& (this.mineskin != null && this.mineskin.isValid());
}
public void fix() {