@EventHandler(priority = EventPriority.MONITOR)
	public void onBlockBreak(BlockBreakEvent event) {
		Player player = event.getPlayer();
		String playername = player.getName();
		World world = player.getWorld();
		String worldname = world.getName();
		Boolean staff = false;	
		int x = event.getBlock().getLocation().getBlockX();
		int y = event.getBlock().getLocation().getBlockY();
		int z = event.getBlock().getLocation().getBlockZ();
		String blockid = "" + event.getBlock().getTypeId();
		Boolean log = false;
		if (event.isCancelled() == false) {
			if(getConfig.LogBlackListedBlocks()) {
				for (String m : getConfig.Blocks()) {
					m = m.toString().toLowerCase();
					if (blockid.equalsIgnoreCase(m) || m.equalsIgnoreCase("*")) {
						log = true;
						break;
					}}
				if (log) {
					String blockname = event.getBlock().getType().toString();
					blockname = blockname.replaceAll("_", " ");
					//Checks
					if (player.hasPermission("PlayerLogger.staff")) {
						staff = true;
					}
					//Logging
					if (getConfig.logFilesEnabled()) {
						filehandler.logBreak(playername, worldname, blockname, x, y, z, staff);
					}
					if (getConfig.MySQLEnabled()) {
						addData.add(playername,"break", blockname, x, y, z, worldname, staff);
					}}}}}