@SuppressWarnings("deprecation")
	public void initializeGUI(Player player) {
		if (!players.containsKey(player.getUniqueId()))
			players.put(player.getUniqueId(), Bukkit.createInventory(null, getCorrectSize(), "Kit Selector"));
		
		Inventory inventory = players.get(player.getUniqueId());
		
		inventory.clear();
		
		// SELECTED
		ItemStack border = new ItemStack(Material.STAINED_GLASS_PANE);
		ItemMeta im = border.getItemMeta();
		im.setDisplayName(ChatColor.WHITE + "Currently selected");
		border.setItemMeta(im);
		
		
		inventory.setItem(0, getSelected(PlayerStorage.getInstance().getCurrentKit(player).getDisplayItem()));
		inventory.setItem(1, border);
		inventory.setItem(9, border);
		inventory.setItem(10, border);
		
		// OWNED
		for (Kit ownedkit : PlayerStorage.getInstance().getAllKits(player)) {
			if (!PlayerStorage.getInstance().getCurrentKit(player).equals(ownedkit)) {
				inventory.addItem(getOwned(ownedkit.getDisplayItem()));
			}
		}
		
		// NOT OWNED
		for (Kit kit : Kit.list) {
			ItemStack displayitem = kit.getDisplayItem();
			
			if (!PlayerStorage.getInstance().getAllKits(player).contains(kit))
				inventory.addItem(getUnowned(displayitem, kit.getCost()));
		}
		
		for (LivingEntity li : inventory.getViewers()) {
			((Player) li).updateInventory();
		}
	}