mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Fix box binary / pcbin export
19784aaa41 (diff-37bd5b548e2b340e5c38fd0961a3eb04L880)
Was just exporting blank data, lol
https://projectpokemon.org/home/forums/topic/55436-issue-with-box-data-binary/
This commit is contained in:
parent
13adc38ee8
commit
fa169ff61c
1 changed files with 2 additions and 2 deletions
|
@ -877,8 +877,8 @@ namespace PKHeX.Core
|
|||
#endregion
|
||||
|
||||
#region Box Binaries
|
||||
public byte[] GetPCBinary() => BoxData.SelectMany(pk => GetDataForBox(BlankPKM)).ToArray();
|
||||
public byte[] GetBoxBinary(int box) => GetBoxData(box).SelectMany(pk => GetDataForBox(BlankPKM)).ToArray();
|
||||
public byte[] GetPCBinary() => BoxData.SelectMany(GetDataForBox).ToArray();
|
||||
public byte[] GetBoxBinary(int box) => GetBoxData(box).SelectMany(GetDataForBox).ToArray();
|
||||
|
||||
public bool SetPCBinary(byte[] data)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue