mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-21 20:55:07 -05:00
Remove safe cast in favor of direct cast
This commit is contained in:
@@ -25,7 +25,7 @@ public LegalityAnalysis(PKM pk)
|
||||
{
|
||||
if (!(pk is PK6))
|
||||
return;
|
||||
pk6 = pk as PK6;
|
||||
pk6 = (PK6) pk;
|
||||
try
|
||||
{
|
||||
updateRelearnLegality();
|
||||
|
||||
Reference in New Issue
Block a user