From 4dbc2d8fb1ef99beba3f5ca6d0dc48d3ec8a25e1 Mon Sep 17 00:00:00 2001 From: rfresh2 <89827146+rfresh2@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:03:40 -0700 Subject: [PATCH] update mcpl --- build.gradle.kts | 2 +- .../java/com/zenith/feature/api/crafthead/CraftheadApi.java | 2 +- .../java/com/zenith/feature/api/mcsrvstatus/MCSrvStatusApi.java | 2 +- src/main/java/com/zenith/feature/api/mcstatus/MCStatusApi.java | 2 +- .../java/com/zenith/feature/api/minetools/MinetoolsApi.java | 2 +- src/main/java/com/zenith/feature/api/minotar/MinotarApi.java | 2 +- src/main/java/com/zenith/feature/api/mojang/MojangApi.java | 2 +- src/main/java/com/zenith/feature/api/prioban/PriobanApi.java | 2 +- .../com/zenith/feature/api/sessionserver/SessionServerApi.java | 2 +- src/main/java/com/zenith/feature/api/vcapi/VcApi.java | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 244a928dd..914ee09dd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -57,7 +57,7 @@ dependencies { implementation("com.github.rfresh2.discord4j:discord4j-core:3.4.3.9") { exclude(group = "io.netty") } - implementation("com.github.rfresh2:MCProtocolLib:1.21.0.15") { + implementation("com.github.rfresh2:MCProtocolLib:1.21.0.16") { exclude(group = "io.netty.incubator") exclude(group = "io.netty") } diff --git a/src/main/java/com/zenith/feature/api/crafthead/CraftheadApi.java b/src/main/java/com/zenith/feature/api/crafthead/CraftheadApi.java index 09197fae8..011aa928b 100644 --- a/src/main/java/com/zenith/feature/api/crafthead/CraftheadApi.java +++ b/src/main/java/com/zenith/feature/api/crafthead/CraftheadApi.java @@ -12,7 +12,7 @@ import static com.zenith.Shared.DEFAULT_LOG; public class CraftheadApi extends Api { - public static CraftheadApi INSTANCE = new CraftheadApi(); + public static final CraftheadApi INSTANCE = new CraftheadApi(); public CraftheadApi() { super("https://crafthead.net"); diff --git a/src/main/java/com/zenith/feature/api/mcsrvstatus/MCSrvStatusApi.java b/src/main/java/com/zenith/feature/api/mcsrvstatus/MCSrvStatusApi.java index 6c96739e6..ea390e316 100644 --- a/src/main/java/com/zenith/feature/api/mcsrvstatus/MCSrvStatusApi.java +++ b/src/main/java/com/zenith/feature/api/mcsrvstatus/MCSrvStatusApi.java @@ -6,7 +6,7 @@ import java.util.Optional; public class MCSrvStatusApi extends Api { - public static MCSrvStatusApi INSTANCE = new MCSrvStatusApi(); + public static final MCSrvStatusApi INSTANCE = new MCSrvStatusApi(); public MCSrvStatusApi() { super("https://api.mcsrvstat.us/3"); diff --git a/src/main/java/com/zenith/feature/api/mcstatus/MCStatusApi.java b/src/main/java/com/zenith/feature/api/mcstatus/MCStatusApi.java index d117edd65..d8579a06f 100644 --- a/src/main/java/com/zenith/feature/api/mcstatus/MCStatusApi.java +++ b/src/main/java/com/zenith/feature/api/mcstatus/MCStatusApi.java @@ -6,7 +6,7 @@ import java.util.Optional; public class MCStatusApi extends Api { - public static MCStatusApi INSTANCE = new MCStatusApi(); + public static final MCStatusApi INSTANCE = new MCStatusApi(); public MCStatusApi() { super("https://api.mcstatus.io/v2/status/java"); diff --git a/src/main/java/com/zenith/feature/api/minetools/MinetoolsApi.java b/src/main/java/com/zenith/feature/api/minetools/MinetoolsApi.java index 1fd909b6c..2b0f7f44b 100644 --- a/src/main/java/com/zenith/feature/api/minetools/MinetoolsApi.java +++ b/src/main/java/com/zenith/feature/api/minetools/MinetoolsApi.java @@ -8,7 +8,7 @@ import java.util.UUID; public class MinetoolsApi extends Api { - public static MinetoolsApi INSTANCE = new MinetoolsApi(); + public static final MinetoolsApi INSTANCE = new MinetoolsApi(); public MinetoolsApi() { super("https://api.minetools.eu"); diff --git a/src/main/java/com/zenith/feature/api/minotar/MinotarApi.java b/src/main/java/com/zenith/feature/api/minotar/MinotarApi.java index fd7ebad62..9ed247e87 100644 --- a/src/main/java/com/zenith/feature/api/minotar/MinotarApi.java +++ b/src/main/java/com/zenith/feature/api/minotar/MinotarApi.java @@ -11,7 +11,7 @@ import static com.zenith.Shared.DEFAULT_LOG; public class MinotarApi extends Api { - public static MinotarApi INSTANCE = new MinotarApi(); + public static final MinotarApi INSTANCE = new MinotarApi(); public MinotarApi() { super("https://minotar.net"); diff --git a/src/main/java/com/zenith/feature/api/mojang/MojangApi.java b/src/main/java/com/zenith/feature/api/mojang/MojangApi.java index d6cc58e91..dbb6a145e 100644 --- a/src/main/java/com/zenith/feature/api/mojang/MojangApi.java +++ b/src/main/java/com/zenith/feature/api/mojang/MojangApi.java @@ -6,7 +6,7 @@ import java.util.Optional; public class MojangApi extends Api { - public static MojangApi INSTANCE = new MojangApi(); + public static final MojangApi INSTANCE = new MojangApi(); public MojangApi() { super("https://api.mojang.com"); diff --git a/src/main/java/com/zenith/feature/api/prioban/PriobanApi.java b/src/main/java/com/zenith/feature/api/prioban/PriobanApi.java index 3e411ea26..802716530 100644 --- a/src/main/java/com/zenith/feature/api/prioban/PriobanApi.java +++ b/src/main/java/com/zenith/feature/api/prioban/PriobanApi.java @@ -12,7 +12,7 @@ import static com.zenith.Shared.DEFAULT_LOG; public class PriobanApi extends Api { - public static PriobanApi INSTANCE = new PriobanApi(); + public static final PriobanApi INSTANCE = new PriobanApi(); public PriobanApi() { super("https://shop.2b2t.org"); diff --git a/src/main/java/com/zenith/feature/api/sessionserver/SessionServerApi.java b/src/main/java/com/zenith/feature/api/sessionserver/SessionServerApi.java index 858f90a80..b5091a891 100644 --- a/src/main/java/com/zenith/feature/api/sessionserver/SessionServerApi.java +++ b/src/main/java/com/zenith/feature/api/sessionserver/SessionServerApi.java @@ -21,7 +21,7 @@ import static com.zenith.Shared.*; public class SessionServerApi extends Api { - public static SessionServerApi INSTANCE = new SessionServerApi(); + public static final SessionServerApi INSTANCE = new SessionServerApi(); public SessionServerApi() { super("https://sessionserver.mojang.com"); diff --git a/src/main/java/com/zenith/feature/api/vcapi/VcApi.java b/src/main/java/com/zenith/feature/api/vcapi/VcApi.java index dacf3b062..165096844 100644 --- a/src/main/java/com/zenith/feature/api/vcapi/VcApi.java +++ b/src/main/java/com/zenith/feature/api/vcapi/VcApi.java @@ -6,7 +6,7 @@ import java.util.Optional; public class VcApi extends Api { - public static VcApi INSTANCE = new VcApi(); + public static final VcApi INSTANCE = new VcApi(); public VcApi() { super("https://api.2b2t.vc");