/*
 * Copyright  2014 - 2016 | Wurst-Imperium | All rights reserved.
 * 
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package tk.wurst_client;

import tk.wurst_client.analytics.AnalyticsManager;
import tk.wurst_client.chat.ChatManager;
import tk.wurst_client.commands.CmdManager;
import tk.wurst_client.events.EventManager;
import tk.wurst_client.files.FileManager;
import tk.wurst_client.font.Fonts;
import tk.wurst_client.hooks.FrameHook;
import tk.wurst_client.mods.ModManager;
import tk.wurst_client.navigator.Navigator;
import tk.wurst_client.options.FriendsList;
import tk.wurst_client.options.KeybindManager;
import tk.wurst_client.options.OptionsManager;
import tk.wurst_client.special.SpfManager;
import tk.wurst_client.update.Updater;

public enum WurstClient
{
	INSTANCE;
	
	public static final String VERSION = "4.4";
	public static final String MINECRAFT_VERSION = "1.10";
	
	public AnalyticsManager analytics;
	public ChatManager chat;
	public CmdManager commands;
	public EventManager events;
	public FileManager files;
	public FriendsList friends;
	public ModManager mods;
	public Navigator navigator;
	public KeybindManager keybinds;
	public OptionsManager options;
	public SpfManager special;
	public Updater updater;
	
	public void startClient()
	{
		events = new EventManager();
		mods = new ModManager();
		commands = new CmdManager();
		special = new SpfManager();
		files = new FileManager();
		updater = new Updater();
		chat = new ChatManager();
		keybinds = new KeybindManager();
		options = new OptionsManager();
		friends = new FriendsList();
		navigator = new Navigator();
		
		files.init();
		navigator.sortFeatures();
		Fonts.loadFonts();
		updater.checkForUpdate();
		analytics =
			new AnalyticsManager("UA-52838431-5", "client.wurst-client.tk");
		files.saveOptions();
		
		FrameHook.maximize();
	}
}

@@ -1388,24 +1388,59 @@
  updater;%0A%09%0A
+%09private boolean enabled = true;%0A%09%0A
 %09public void
@@ -2021,11 +2021,138 @@
 ze();%0A%09%7D
+%0A%0A%09public boolean isEnabled()%0A%09%7B%0A%09%09return enabled;%0A%09%7D%0A%0A%09public void setEnabled(boolean enabled)%0A%09%7B%0A%09%09this.enabled = enabled;%0A%09%7D
 %0A%7D%0A

Add WurstClient.enabled