mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
Add missing change
This commit is contained in:
parent
ca04abfca6
commit
224544c322
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ namespace PKHeX.Core
|
||||||
|
|
||||||
private static CheckResult VerifyWildEncounterCrystalHeadbutt(PKM pkm, EncounterSlot1 encounter)
|
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
|
if (Area == null) // Failsafe, every area with headbutt encounters have a tree area
|
||||||
return new CheckResult(Severity.Invalid, V605, CheckIdentifier.Encounter);
|
return new CheckResult(Severity.Invalid, V605, CheckIdentifier.Encounter);
|
||||||
var trainerpivot = pkm.TID % 10;
|
var trainerpivot = pkm.TID % 10;
|
||||||
|
|
Loading…
Reference in a new issue