@@ -2430,7 +2430,7 @@ function getInstanceJs(parentClass, addonTriggers, C3) {
24302430 if ( answer ?. body . success === false ) {
24312431 throw new Error ( 'Failed' )
24322432 }
2433- this . _CheckDLCIsInstalledResultValue = answer ?. body . data
2433+ this . _CheckDLCIsInstalledResultValue = answer ?. body . data ? 1 : 0
24342434 this . _CheckDLCIsInstalledErrorValue = ''
24352435
24362436 await this . trigger ( tag , [
@@ -2440,7 +2440,7 @@ function getInstanceJs(parentClass, addonTriggers, C3) {
24402440 } catch ( e ) {
24412441 if ( e instanceof Error ) {
24422442 this . _CheckDLCIsInstalledErrorValue = e . message
2443- this . _CheckDLCIsInstalledResultValue = false
2443+ this . _CheckDLCIsInstalledResultValue = 0
24442444 await this . trigger ( tag , [
24452445 C3 . Plugins . pipelabv2 . Cnds . OnCheckDLCIsInstalledError ,
24462446 C3 . Plugins . pipelabv2 . Cnds . OnAnyCheckDLCIsInstalledError
@@ -4267,7 +4267,7 @@ function getInstanceJs(parentClass, addonTriggers, C3) {
42674267 return this . _CheckDLCIsInstalledErrorValue
42684268 } )
42694269 _CheckDLCIsInstalledResult = this . exprs ( super . _CheckDLCIsInstalledResult , ( ) => {
4270- return this . _CheckDLCIsInstalledResultValue
4270+ return this . _CheckDLCIsInstalledResultValue ?? 0
42714271 } )
42724272
42734273 // Workshop expressions
0 commit comments