Fix ribbonset comparison check

Closes #1265
This commit is contained in:
Kurt
2017-06-22 19:01:31 -07:00
parent f59782a479
commit 5d6ccdedd2

View File

@@ -1022,7 +1022,7 @@ private static IEnumerable<RibbonResult> VerifyRibbonSet1(PKM pkm, object encoun
}
private static IEnumerable<RibbonResult> VerifyRibbonSet2(PKM pkm, object encounterContent)
{
if (!(pkm is IRibbonSetEvent3 set2))
if (!(pkm is IRibbonSetEvent4 set2))
yield break;
var names = set2.RibbonNames();
var sb = set2.RibbonBits();