#1867: Just fake 1.7 login protocol for now

This commit is contained in:
md_5 2016-05-15 22:05:31 +10:00
parent 2df29701ed
commit ec48077dbe

View File

@ -268,7 +268,7 @@ public enum Protocol
private ProtocolData getProtocolData(int version)
{
ProtocolData protocol = protocols.get( version );
if ( protocol == null && ( protocolPhase == Protocol.HANDSHAKE || protocolPhase == Protocol.STATUS ) )
if ( protocol == null && ( protocolPhase != Protocol.GAME ) )
{
protocol = Iterables.getFirst( protocols.valueCollection(), null );
}