File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
src/main/java/com/comphenix/protocol Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -741,7 +741,6 @@ public enum Protocol {
741
741
STATUS ("Status" , "status" ),
742
742
LOGIN ("Login" , "login" ),
743
743
CONFIGURATION ("Configuration" , "configuration" ),
744
- TRANSFER ("Transfer" , "transfer" ), // TODO are these the right names?
745
744
746
745
/**
747
746
* Only for packets removed in Minecraft 1.7.2
Original file line number Diff line number Diff line change @@ -662,7 +662,7 @@ private static void initialize() {
662
662
663
663
INITIALIZED = true ;
664
664
665
- PROTOCOL_CLASS = getEnum ( PacketType . Handshake . Client . SET_PROTOCOL . getPacketClass (), 0 );
665
+ PROTOCOL_CLASS = MinecraftReflection . getEnumProtocolClass ( );
666
666
CLIENT_COMMAND_CLASS = getEnum (PacketType .Play .Client .CLIENT_COMMAND .getPacketClass (), 0 );
667
667
668
668
if (MinecraftVersion .CONFIG_PHASE_PROTOCOL_UPDATE .atOrAbove ()) {
You can’t perform that action at this time.
0 commit comments