Update BungeeCord version check

This commit is contained in:
Camotoy 2022-12-07 11:59:20 -05:00
parent 32829622e7
commit 95ebdb8ebf
No known key found for this signature in database
GPG Key ID: 7EEFB66FE798081F
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public class GeyserBungeePlugin extends Plugin implements GeyserBootstrap {
// Copied from ViaVersion.
// https://github.com/ViaVersion/ViaVersion/blob/b8072aad86695cc8ec6f5e4103e43baf3abf6cc5/bungee/src/main/java/us/myles/ViaVersion/BungeePlugin.java#L43
try {
ProtocolConstants.class.getField("MINECRAFT_1_19_1");
ProtocolConstants.class.getField("MINECRAFT_1_19_3");
} catch (NoSuchFieldException e) {
getLogger().warning(" / \\");
getLogger().warning(" / \\");