Skip to content

Commit

Permalink
remove weird empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Outfluencer committed Jan 20, 2024
1 parent d4c583b commit 5a17c11
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public enum Protocol
map( ProtocolConstants.MINECRAFT_1_19_4, 0x23 ),
map( ProtocolConstants.MINECRAFT_1_20_2, 0x24 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x25 )

);
TO_CLIENT.registerPacket(
Login.class,
Expand Down Expand Up @@ -246,7 +245,6 @@ public enum Protocol
map( ProtocolConstants.MINECRAFT_1_20_2, 0x53 ),
map( ProtocolConstants.MINECRAFT_1_20_3, 0x55 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x56 )

);
TO_CLIENT.registerPacket(
Team.class,
Expand Down Expand Up @@ -283,7 +281,6 @@ public enum Protocol
map( ProtocolConstants.MINECRAFT_1_19_4, 0x17 ),
map( ProtocolConstants.MINECRAFT_1_20_2, 0x18 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x19 )

);
TO_CLIENT.registerPacket(
Kick.class,
Expand Down Expand Up @@ -321,8 +318,6 @@ public enum Protocol
map( ProtocolConstants.MINECRAFT_1_20_2, 0x61 ),
map( ProtocolConstants.MINECRAFT_1_20_3, 0x63 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x64 )


);
TO_CLIENT.registerPacket(
ClearTitles.class,
Expand Down Expand Up @@ -389,7 +384,6 @@ public enum Protocol
map( ProtocolConstants.MINECRAFT_1_20_2, 0x68 ),
map( ProtocolConstants.MINECRAFT_1_20_3, 0x6A ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x6C )

);
TO_CLIENT.registerPacket(
EntityStatus.class,
Expand Down Expand Up @@ -435,7 +429,6 @@ public enum Protocol
map( ProtocolConstants.MINECRAFT_1_19_4, 0x1F ),
map( ProtocolConstants.MINECRAFT_1_20_2, 0x20 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x21 )

);
TO_CLIENT.registerPacket(
ViewDistance.class,
Expand Down Expand Up @@ -584,7 +577,6 @@ public enum Protocol
map( ProtocolConstants.MINECRAFT_1_20_2, 0x0F ),
map( ProtocolConstants.MINECRAFT_1_20_3, 0x10 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x11 )

);
TO_SERVER.registerPacket(
StartConfiguration.class,
Expand Down Expand Up @@ -680,35 +672,30 @@ public enum Protocol

{

// 1.20.5 0 cookie request clientbount 1 serverbound increment other by 1
// 1.20.5 0 cookie request clientbound 1 serverbound increment other by 1
TO_CLIENT.registerPacket(
PluginMessage.class,
PluginMessage::new,
map( ProtocolConstants.MINECRAFT_1_20_2, 0x00 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x01 )

);
TO_CLIENT.registerPacket(
Kick.class,
Kick::new,
map( ProtocolConstants.MINECRAFT_1_20_2, 0x01 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x02 )

);
TO_CLIENT.registerPacket(
FinishConfiguration.class,
FinishConfiguration::new,
map( ProtocolConstants.MINECRAFT_1_20_2, 0x02 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x03 )


);
TO_CLIENT.registerPacket(
KeepAlive.class,
KeepAlive::new,
map( ProtocolConstants.MINECRAFT_1_20_2, 0x03 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x04 )

);
TO_CLIENT.registerPacket(
StoreCookie.class,
Expand Down Expand Up @@ -737,14 +724,12 @@ public enum Protocol
FinishConfiguration::new,
map( ProtocolConstants.MINECRAFT_1_20_2, 0x02 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x03 )

);
TO_SERVER.registerPacket(
KeepAlive.class,
KeepAlive::new,
map( ProtocolConstants.MINECRAFT_1_20_2, 0x03 ),
map( ProtocolConstants.MINECRAFT_1_20_5, 0x04 )

);
}
};
Expand Down

0 comments on commit 5a17c11

Please sign in to comment.