mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-03 03:16:01 -04:00
only show localization warnings in debug mode
This commit is contained in:
@@ -100,11 +100,12 @@ jstring JNICALL ScriptMethodsStringNamespace::getString(JNIEnv *env, jobject sel
|
||||
JavaString result(localized);
|
||||
return result.getReturnValue();
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else
|
||||
{
|
||||
WARNING(true, ("JavaLibrary::log failed to localize the stringId(%s, %s)", table.c_str(), asciiId.c_str()));
|
||||
}
|
||||
|
||||
#endif
|
||||
return 0;
|
||||
|
||||
} // JavaLibrary::getString
|
||||
|
||||
Reference in New Issue
Block a user