and fix a ton more minor performance issues

This commit is contained in:
DarthArgus
2014-10-27 22:39:57 -07:00
parent 14eaf713d0
commit c9c39d5713
97 changed files with 266 additions and 376 deletions
@@ -221,7 +221,7 @@ jboolean JNICALL ScriptMethodsBeastMasterNamespace::setBeastMasterPetCommands(JN
if (item != JavaString::cms_nullPtr)
JavaLibrary::convert(*item, commands[i]);
else
commands[i] = "";
commands[i].clear();
}
po->setPetCommandList(commands);
return JNI_TRUE;
@@ -261,7 +261,7 @@ jboolean JNICALL ScriptMethodsBeastMasterNamespace::setBeastMasterToggledPetComm
if (item != JavaString::cms_nullPtr)
JavaLibrary::convert(*item, commands[i]);
else
commands[i] = "";
commands[i]clear();
}
po->setPetToggledCommands(commands);
return JNI_TRUE;