Remove some unecessary setter requirements

This commit is contained in:
Kurt 2020-08-30 15:44:13 -07:00
parent 1bc7994137
commit 13ee3745f2
2 changed files with 4 additions and 4 deletions

View file

@ -17,8 +17,8 @@ namespace PKHeX.Core
internal readonly EncounterArea Area;
public GameVersion Version => Area.Version;
public int Location { get => Area.Location; set { } }
public int EggLocation { get => 0; set { } }
public int Location => Area.Location;
public int EggLocation => 0;
protected EncounterSlot(EncounterArea area) => Area = area;

View file

@ -2,8 +2,8 @@
{
public interface ILocation
{
int Location { get; set; }
int EggLocation { get; set; }
int Location { get; }
int EggLocation { get; }
}
public static partial class Extensions