mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
Update EncounterSlot8GO.cs
This commit is contained in:
parent
a4125472f4
commit
0ba2f6a53a
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@ namespace PKHeX.Core
|
|||
public bool IsWithinStartEnd(int stamp)
|
||||
{
|
||||
if (End == 0)
|
||||
return stamp >= Start;
|
||||
return Start <= stamp;
|
||||
if (Start == 0)
|
||||
return stamp <= Start;
|
||||
return stamp <= End;
|
||||
return Start <= stamp && stamp <= End;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue