Fixing Clover

Clover has a pointer in its lvlmoves table that points to an empty moveset. But it's pokemon 0, so it doesn't matter. This is valid, I can support it.
This commit is contained in:
Benjamin Popp
2019-06-07 07:03:58 -05:00
parent dd554edf18
commit a67b2644f6

View File

@@ -194,7 +194,7 @@ namespace HavenSoft.HexManiac.Core.Models.Runs {
} else if (InnerFormat == PLMRun.SharedFormatString) {
var plmRun = PlmFactory(owner)(destination);
var length = plmRun.Length;
if (length > 2) {
if (length >= 2) {
if (!(token is NoDataChangeDeltaModel)) owner.ObserveRunWritten(token, plmRun);
return true;
}