Fix personal info ability set

Closes #56
This commit is contained in:
Kurt
2016-12-08 20:24:04 -08:00
parent d2211a6779
commit ebdf2442ff

View File

@@ -80,7 +80,7 @@ public override int[] Abilities
get { return new int[] { Data[0x18], Data[0x19], Data[0x1A] }; }
set
{
if (value?.Length != 2) return;
if (value?.Length != 3) return;
Data[0x18] = (byte)value[0];
Data[0x19] = (byte)value[1];
Data[0x1A] = (byte)value[2];