@EventHandler
	public void closeTable(PlayerMoveEvent e) {
		Player p = e.getPlayer();
		String name = p.getName();

		if (Casino.plugin.getDataHandler().getUserList().contains(name))
			for (BlackjackTable t : Casino.plugin.getDataHandler().getTableList()) {
				if ((!t.getInUse()) || 
						(!t.getUser().equals(name)))
					continue;
				double x1 = t.getBlock().getX();
				double y1 = t.getBlock().getZ();
				double x2 = p.getLocation().getX();
				double y2 = p.getLocation().getZ();

				x2 -= x1;
				x2 *= x2;
				y2 -= y1;
				y2 *= y2;
				x2 += y2;
				double d = Math.sqrt(x2);

				if (d >= 2.2D)
					t.closeTable(p);
			}
	}