Candy

Candy

9k Downloads

PetBattle error in TBCC

MaltheMM opened this issue ยท 0 comments

commented

Candy throws continous errors in TBCC.

The error points to line 285
specifically:

			if (not inClassicMode) then
				if (visibility.hideInPetBattle and C_PetBattles.IsInBattle()) then
					shouldShow = false;

inClassicMode is evaluated in line 21
local inClassicMode = (WOW_PROJECT_ID == WOW_PROJECT_CLASSIC);
and does not evaluate as TRUE in TBCC,

as a workaround i replaced line 21 with local inClassicMode = true;