my mistake

This commit is contained in:
DarthArgus
2016-12-19 00:46:59 +00:00
parent ca7adf0471
commit 41827b9d97
@@ -3367,7 +3367,7 @@ void JNICALL ScriptMethodsObjectInfoNamespace::sendScriptVarsToProxies(JNIEnv *
{
PROFILER_AUTO_BLOCK_DEFINE("JNI::sendScriptVarsToProxies");
if (obj != nullptr && buffer != nullptr)
if (obj != 0 && buffer != 0)
{
ServerObject *object = nullptr;
if (JavaLibrary::getObject(obj, object) && object != nullptr)