mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Remove some unecessary setter requirements
This commit is contained in:
parent
1bc7994137
commit
13ee3745f2
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue