mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-10 11:07:35 -05:00
level int -> byte
Might refactor the learnset level get to byte later as a TryGet so -1 is never returned.
This commit is contained in:
@@ -564,7 +564,7 @@ private SearchSettings GetSearchSettings()
|
||||
|
||||
BatchInstructions = RTB_Instructions.Text,
|
||||
|
||||
Level = int.TryParse(TB_Level.Text, out var lvl) ? lvl : null,
|
||||
Level = byte.TryParse(TB_Level.Text, out var lvl) ? lvl : null,
|
||||
SearchLevel = (SearchComparison)CB_Level.SelectedIndex,
|
||||
EVType = CB_EVTrain.SelectedIndex,
|
||||
IVType = CB_IV.SelectedIndex,
|
||||
|
||||
Reference in New Issue
Block a user