Skip to content

Commit

Permalink
Account for Core.EncounterTera9
Browse files Browse the repository at this point in the history
  • Loading branch information
Manu098vm committed Dec 8, 2023
1 parent 9668ced commit ff467c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TeraFinder.Core/Classes/EncounterRaid9.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public ushort GetRandRateMinViolet(int stage = 0)

private Nature GetNature()
{
if (Encounter is not EncounterTera9)
if (Encounter is not (EncounterTera9 or PKHeX.Core.EncounterTera9))
return ((dynamic)Encounter).Nature;

return Nature.Random;
Expand Down

0 comments on commit ff467c1

Please sign in to comment.