Package org.getspout.spoutapi.packet

Examples of org.getspout.spoutapi.packet.PacketValidatePrecache


  private static HashMap<Plugin, Long> plugins = new HashMap<Plugin, Long>();

  public static void onPlayerJoin(final SpoutPlayer player) {
    if (player.isSpoutCraftEnabled()) {
      if (plugins.size() > 0) {
        player.sendPacket(new PacketValidatePrecache(plugins));
      } else {
        player.sendPacket(new PacketPreCacheCompleted());
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.getspout.spoutapi.packet.PacketValidatePrecache

Copyright © 2018 www.massapicom. 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.