Skip to content

Commit

Permalink
Update Anticheat.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInMyVan authored Aug 18, 2024
1 parent eee100b commit 247e412
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/jsMain/kotlin/data/Anticheat.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,14 @@ class Anticheat(
return
}

if (spigotData == null && spigot != null && github == null) {
status = Unavailable
}

val githubData = getGitHubData()

if (githubData == null) {
status = if (spigotData == null && spigot != null) Unavailable else Old
status = Old
return
}

Expand Down

0 comments on commit 247e412

Please sign in to comment.