Adding comment warning about modifying the serialization function

This commit is contained in:
Christian 'ketura' McCarty
2021-12-18 14:33:57 -06:00
parent 01b53ff002
commit ad3badbdcb

View File

@@ -28,6 +28,15 @@ public class CollectionSerializer {
}
private void fillSingleByteItems() throws IOException {
/*
DO NOT add things to the middle of this function. Everything new needs added to the end, even if it
breaks the symmetry of how its sorted. Otherwise the old serialized data will fail to line up with
new serialized data, and it will break existing trophies and collections.
*/
loadSet("1");
loadSet("2");
loadSet("3");