public static int getDistanceCost(Location Loc1,Location Loc2) {
		if(Loc1.getWorld().equals(Loc2.getWorld())) {
				double distance = Loc1.distance(Loc2);
				int distanceint = (int) distance;
				int multivalue = config.getint("CDT.MoneyMultiplierPerblock");
				int out = multivalue * distanceint;
				return out;
			}else{
				if(config.getbool("CDT.MultiWorld.Support")) {
					if(config.getbool("CDT.MultiWorld.EnableWorldChangeCost")) {
						int WorldChangeCost = config.getint("CDT.MultiWorld.WorldChangeCost");
						Loc2 = ParseWorldLocation(Loc1, Loc2);
						int out = 0;
						if(config.getbool("CDT.MultiWorld.EnableCoordinateDistanceCost")) {
							double distance = Loc1.distance(Loc2);
							int distanceint = (int) distance;
							int multivalue = config.getint("CDT.MoneyMultiplierPerblock");
							out = multivalue * distanceint;
						}
						out = out + WorldChangeCost;
						return out;
					}else{
						Loc2 = ParseWorldLocation(Loc1, Loc2);
						double distance = Loc1.distance(Loc2);
						int distanceint = (int) distance;
						int multivalue = config.getint("CDT.MoneyMultiplierPerblock");
						int out = multivalue * distanceint;
						return out;
					}
				}else{
					return 0;
				}
			}
	}