Examples of LegacyPing


Examples of net.md_5.bungee.protocol.packet.LegacyPing

        short b2 = in.getUnsignedByte( i++ );
        short b3 = in.getUnsignedByte( i++ );

        if ( b1 == 0xFE && b2 == 0x01 && b3 == 0xFA )
        {
            out.add( new PacketWrapper( new LegacyPing(), Unpooled.EMPTY_BUFFER ) );
            return;
        }
        if ( b1 == 0x02 && b2 >= 60 && b2 <= 78 )
        {
            out.add( new PacketWrapper( new LegacyHandshake(), Unpooled.EMPTY_BUFFER ) );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.