Add missing change

This commit is contained in:
Kurt 2017-07-06 17:01:53 -07:00
parent ca04abfca6
commit 224544c322

View file

@ -80,7 +80,7 @@ namespace PKHeX.Core
private static CheckResult VerifyWildEncounterCrystalHeadbutt(PKM pkm, EncounterSlot1 encounter)
{
var Area = Legal.GetCrystalTreeArea(pkm, encounter);
var Area = Legal.GetCrystalTreeArea(encounter);
if (Area == null) // Failsafe, every area with headbutt encounters have a tree area
return new CheckResult(Severity.Invalid, V605, CheckIdentifier.Encounter);
var trainerpivot = pkm.TID % 10;