mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 07:16:36 -05:00
Only export team if data exists
Try-catch already handles it, but let's be safe.
This commit is contained in:
@@ -467,6 +467,7 @@ private void clickShowdownExportPK6(object sender, EventArgs e)
|
||||
}
|
||||
private void clickShowdownExportParty(object sender, EventArgs e)
|
||||
{
|
||||
if (SAV.PartyData.Length <= 0) return;
|
||||
try
|
||||
{
|
||||
Clipboard.SetText(
|
||||
@@ -478,6 +479,7 @@ private void clickShowdownExportParty(object sender, EventArgs e)
|
||||
}
|
||||
private void clickShowdownExportBattleBox(object sender, EventArgs e)
|
||||
{
|
||||
if (SAV.BattleBoxData.Length <= 0) return;
|
||||
try
|
||||
{
|
||||
Clipboard.SetText(
|
||||
|
||||
Reference in New Issue
Block a user