public static InetAddress getMyHamachiIP() {
		try {
			if (!CFG.INTERNET) return InetAddress.getLocalHost();
			
			List<NetworkInterface> interfaces = Collections.list(NetworkInterface.getNetworkInterfaces());
			for (NetworkInterface ni : interfaces) {
				if (ni.getDisplayName().equals("Hamachi Network Interface")) return ni.getInetAddresses().nextElement();
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		return null;
	}