Examples of ChunkNetCache


Examples of org.spout.vanilla.protocol.netcache.ChunkNetCache

      return;
    } else if (message.getProtocolVersion() > VanillaPlugin.MINECRAFT_PROTOCOL_ID) {
      session.disconnect(VanillaConfiguration.OUTDATED_SERVER_MESSAGE.getString());
      return;
    }
    session.getDataMap().put(VanillaProtocol.CHUNK_NET_CACHE, new ChunkNetCache());
    Session.State state = session.getState();
    if (state == Session.State.EXCHANGE_HANDSHAKE) {
      session.getDataMap().put(VanillaProtocol.LOGIN_TIME, System.currentTimeMillis());
      session.getDataMap().put(VanillaProtocol.HANDSHAKE_USERNAME, message.getUsername());
      session.setState(Session.State.EXCHANGE_ENCRYPTION);
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.