Skip to content

Commit

Permalink
fixed game version naming
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 committed Mar 21, 2023
1 parent 1fd6f53 commit 2e10bfe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ object Cosmetics {

// Request cape from URL which should be our API. (https://api.liquidbounce.net/api/v1/cape/uuid/%s)
val connection = capeURL.openConnection()
connection.addRequestProperty("User-Agent", "${LiquidBounce.CLIENT_NAME}_${LiquidBounce.CLIENT_VERSION}_${mc.game.version}")
connection.addRequestProperty("User-Agent", "${LiquidBounce.CLIENT_NAME}_${LiquidBounce.CLIENT_VERSION}_${mc.gameVersion}")
connection.readTimeout = 5000
connection.connectTimeout = 2500
connection.connect()
Expand Down

0 comments on commit 2e10bfe

Please sign in to comment.