Update Bungee version warning

This commit is contained in:
Nassim Jahnke 2021-11-15 11:00:18 +01:00
parent 2b77427d0b
commit 25d74632c2
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
3 changed files with 3 additions and 2 deletions

View File

@ -56,7 +56,7 @@ public class BungeePlugin extends Plugin implements ViaPlatform<ProxiedPlayer>,
@Override
public void onLoad() {
try {
ProtocolConstants.class.getField("MINECRAFT_1_17");
ProtocolConstants.class.getField("MINECRAFT_1_18");
} catch (NoSuchFieldException e) {
getLogger().warning(" / \\");
getLogger().warning(" / \\");

View File

@ -75,6 +75,7 @@ public class BungeeServerHandler implements Listener {
entityRewrite = Class.forName("net.md_5.bungee.UserConnection").getDeclaredField("entityRewrite");
entityRewrite.setAccessible(true);
} catch (Exception e) {
Via.getPlatform().getLogger().severe("Error initializing BungeeServerHandler, try updating BungeeCord or ViaVersion!");
e.printStackTrace();
}
}

View File

@ -20,7 +20,7 @@ checkerQual = "3.18.0"
# Platforms
paper = "1.16.5-R0.1-SNAPSHOT"
legacyBukkit = "1.8.8-R0.1-SNAPSHOT"
bungee = "1.16-R0.5-SNAPSHOT"
bungee = "1.17-R0.1-SNAPSHOT"
sponge = "5.0.0"
legacySponge = "4.0.0"
velocity = "3.0.0-SNAPSHOT"