3030import com .velocitypowered .api .proxy .ProxyServer ;
3131import com .velocitypowered .api .scheduler .ScheduledTask ;
3232import com .velocitypowered .proxy .console .VelocityConsole ;
33- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
3433import java .io .File ;
3534import java .io .FileNotFoundException ;
3635import java .io .IOError ;
@@ -164,7 +163,6 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
164163 Configurator .setLevel (consoleLogger .getName (), consoleLogger .getLevel ());
165164 }
166165
167- @ SuppressFBWarnings (value = "NP_NULL_ON_SOME_PATH" , justification = "LEGACY_AMPERSAND can't be null in velocity." )
168166 public void reload () {
169167 Settings .IMP .reload (this .configFile , Settings .IMP .PREFIX );
170168
@@ -299,6 +297,7 @@ public void reload() {
299297 new PacketMapping (0x16 , ProtocolVersion .MINECRAFT_1_20_5 , false ),
300298 new PacketMapping (0x18 , ProtocolVersion .MINECRAFT_1_21_2 , false ),
301299 new PacketMapping (0x19 , ProtocolVersion .MINECRAFT_1_21_6 , false ),
300+ new PacketMapping (0x1A , ProtocolVersion .MINECRAFT_26_1 , false ),
302301 })
303302 .registerPacket (PacketDirection .CLIENTBOUND , SetEntityMetadata .class , null , new PacketMapping []{
304303 new PacketMapping (0x1C , ProtocolVersion .MINIMUM_VERSION , true ),
@@ -318,6 +317,7 @@ public void reload() {
318317 new PacketMapping (0x5D , ProtocolVersion .MINECRAFT_1_21_2 , true ),
319318 new PacketMapping (0x5C , ProtocolVersion .MINECRAFT_1_21_5 , true ),
320319 new PacketMapping (0x61 , ProtocolVersion .MINECRAFT_1_21_9 , true ),
320+ new PacketMapping (0x63 , ProtocolVersion .MINECRAFT_26_1 , true ),
321321 })
322322 .registerPacket (PacketDirection .CLIENTBOUND , SpawnEntity .class , null , new PacketMapping []{
323323 new PacketMapping (0x0E , ProtocolVersion .MINIMUM_VERSION , true ),
0 commit comments