Use MCJavaStringToStringRef as mentioned previously :)