nanos-world / issues

Issue Tracker for nanos world
9 stars 1 forks source link

Events deserialization error #931

Closed vugi99 closed 1 year ago

vugi99 commented 1 year ago

Prerequisites

Your Environment

Description

Events deserialization error Parser will nullify an entity that he already seen without setting it's address to the deserialized table.

Steps to reproduce the behavior

pass-custom-classes.zip

Expected behavior

{
    1 = {
        "somevalue" = 1,
    },
    2 = {
        "somevalue" = 1,
    },
    3 = {
        "somevalue" = 2,
    },
    4 = {
        "somevalue" = 2,
    },

}

Put the correct address, do not deserialize again the thing

{
1 = table:Address1,
2 = table:Address1,
3 = table:Address2,
4 = table:Address2
}

Actual behavior

{
    1 = {
        "somevalue" = 1,
    },
    3 = {
        "somevalue" = 2,
    },
}
gtnardy commented 1 year ago

Fixed, thx for the package