mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 17:28:43 -05:00
Allow setting to 11th slot for !PCD
Oops
This commit is contained in:
@@ -226,7 +226,7 @@ private void ClickSet(object sender, EventArgs e)
|
||||
WinFormsUtil.Alert(MsgMysteryGiftSlotFail, $"{gift.Type} != {other.Type}");
|
||||
return;
|
||||
}
|
||||
else if (gift is PCD { IsLockCapsule: true } != (index == 11))
|
||||
else if (gift is PCD g && (g is { IsLockCapsule: true } != (index == 11)))
|
||||
{
|
||||
WinFormsUtil.Alert(MsgMysteryGiftSlotFail, $"{GameInfo.Strings.Item[533]} slot not valid.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user