144145146147148149150151152153154
stream.close(); int page = 0; for (byte[] packet : miniPackets) { PacketPartialItem ppi = new PacketPartialItem( page++, miniPackets.size(), packet ); NetworkHandler.instance.sendToServer( ppi ); } } catch (IOException e) {