mirror of
https://github.com/Manu098vm/Switch-Gift-Data-Manager.git
synced 2026-07-18 16:31:19 -05:00
LGPE too cannot redeem wondercards with an ID over 2048
This commit is contained in:
parent
1f23818043
commit
900bd9c794
|
|
@ -419,7 +419,7 @@ public partial class MainWindow : Form
|
|||
var curr = ((ListBox)sender).Items[e.Index].ToString()!;
|
||||
var wcid = UInt16.Parse(Regex.Match(curr, @"(?<=\#)(.*?)(?=\:)").Groups[1].Value);
|
||||
var handled = false;
|
||||
if ((CurrentGame is Games.BDSP && wcid >= 2048) || (CurrentGame is Games.SWSH && e.Index >= 129))
|
||||
if ((CurrentGame is Games.BDSP or Games.LGPE && wcid >= 2048) || (CurrentGame is Games.SWSH && e.Index >= 129))
|
||||
{
|
||||
if (!curr.Contains('\u2757'))
|
||||
((ListBox)sender).Items[e.Index] = $"{curr} \u2757";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user