public void loadBlackjackSettings(File file)
	{
		if (!file.exists()) {
			try {
				file.createNewFile();
			}
			catch (Exception localException)
			{
			}
			InputStream is = getClass().getResourceAsStream("/blackjack.yml");
			try
			{
				FileOutputStream out = new FileOutputStream(file);

				byte[] bytes = new byte[2000];
				int len;
				while ((len = is.read(bytes)) > 0)
				{
					out.write(bytes, 0, len);
				}out.close();
				is.close();
			}
			catch (FileNotFoundException localFileNotFoundException) {
			}
			catch (IOException localIOException) {
			}
		}
		FileConfiguration config = YamlConfiguration.loadConfiguration(file);

		this.subtractOvercost = config.getBoolean("subtract-overcost", true);
		this.saveOnDisable = config.getBoolean("save-on-disable", true);
		this.saveOnSlotChange = config.getBoolean("save-on-slot-change", false);
		this.linkedToAccounts = config.getBoolean("linked-to-accounts", true);
		this.betIncrement = config.getInt("betIncrement", 5);
		this.maxBet = config.getInt("maxBet", 100);
		if (this.maxBet == 0)
			this.maxBet = 2147483647;
	}