diff --git a/engine/server/library/serverScript/src/shared/ScriptMethodsBeastMaster.cpp b/engine/server/library/serverScript/src/shared/ScriptMethodsBeastMaster.cpp index d290860e..8a7fe021 100644 --- a/engine/server/library/serverScript/src/shared/ScriptMethodsBeastMaster.cpp +++ b/engine/server/library/serverScript/src/shared/ScriptMethodsBeastMaster.cpp @@ -261,7 +261,7 @@ jboolean JNICALL ScriptMethodsBeastMasterNamespace::setBeastMasterToggledPetComm if (item != JavaString::cms_nullPtr) JavaLibrary::convert(*item, commands[i]); else - commands[i]clear(); + commands[i].clear(); } po->setPetToggledCommands(commands); return JNI_TRUE;