Skip to content

Commit

Permalink
update: 更新UserAgent以符合B站规则 #3
Browse files Browse the repository at this point in the history
  • Loading branch information
BingZi-233 committed Nov 9, 2023
1 parent ace65a1 commit ea8dc02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import taboolib.module.nms.sendMap
object NetworkEngine {
private val client = OkHttpClient.Builder()
.addInterceptor(ReceivedCookiesInterceptor())
.addInterceptor(UserAgentInterceptor("MinecraftPlugin $pluginId/$pluginVersion"))
.addInterceptor(UserAgentInterceptor("MinecraftPlugin $pluginId/$pluginVersion([email protected])"))
.build()

/**
Expand Down

0 comments on commit ea8dc02

Please sign in to comment.