120121122123124125126
i.remove(); } catch (InterruptedException ie) { } } } player.sendPacket(new PacketPreCacheCompleted()); }
555657585960616263
public static void onPlayerJoin(final SpoutPlayer player) { if (player.isSpoutCraftEnabled()) { if (plugins.size() > 0) { player.sendPacket(new PacketValidatePrecache(plugins)); } else { player.sendPacket(new PacketPreCacheCompleted()); } } }