fix: Fixes item serials (#1551)

This commit is contained in:
Kamron Batman 2023-10-15 16:58:51 -07:00 committed by GitHub
parent 5b99402666
commit 6178f2851a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,7 @@ public class GenericEntityPersistence<T> : Persistence, IGenericEntityPersistenc
_name = name;
_minSerial = minSerial;
_maxSerial = maxSerial;
_lastEntitySerial = (Serial)(minSerial - 1);
typeof(T).RegisterFindEntity(Find);
}