Skip to content

Commit

Permalink
Fix API Reloading
Browse files Browse the repository at this point in the history
  • Loading branch information
Aspw-w committed May 22, 2024
1 parent b48025f commit 4009c8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/aspw/client/Launch.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ object Launch {
// Client information
const val CLIENT_BEST = "NightX"
const val CLIENT_FOLDER = "NightX-Client"
const val CLIENT_VERSION = "B124"
const val CLIENT_VERSION = "B125-Beta"
const val CLIENT_CHAT = "§7[§5N§di§3g§bh§6t§aX§7] [§eInfo§7] §r"

var isStarting = false
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/net/aspw/client/utils/APIConnecter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ object APIConnecter {

fun loadDonors() {
try {
if (donorCapeLocations.isNotEmpty())
donorCapeLocations.clear()
var gotNames: String
tlsAuthConnectionFixes()
val nameClient = OkHttpClient.Builder()
Expand Down

0 comments on commit 4009c8e

Please sign in to comment.