mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
i'm a dummy
This commit is contained in:
parent
df5240a67c
commit
a3730aceeb
@ -38,9 +38,7 @@ import java.io.IOException;
|
|||||||
*/
|
*/
|
||||||
public class HttpClient {
|
public class HttpClient {
|
||||||
|
|
||||||
private static OkHttpClient client = new OkHttpClient.Builder()
|
private static OkHttpClient client = null;
|
||||||
.addInterceptor(new LuckPermsUserAgentInterceptor())
|
|
||||||
.build();
|
|
||||||
|
|
||||||
private synchronized static OkHttpClient getClient() {
|
private synchronized static OkHttpClient getClient() {
|
||||||
if (client == null) {
|
if (client == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user