mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 18:17:38 +01:00
#1867: Just fake 1.7 login protocol for now
This commit is contained in:
parent
2df29701ed
commit
ec48077dbe
@ -268,7 +268,7 @@ public enum Protocol
|
|||||||
private ProtocolData getProtocolData(int version)
|
private ProtocolData getProtocolData(int version)
|
||||||
{
|
{
|
||||||
ProtocolData protocol = protocols.get( 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 );
|
protocol = Iterables.getFirst( protocols.valueCollection(), null );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user