collinsmith/riiablo

Item location can be null for serialization

collinsmith opened this issue · 0 comments

When moving around an item the location changes as expected, however for unrepresented states, the location is set to null. This causes an issue when the item needs to be serialized and sent over the network. Possible solutions could be to set null to some unique value if there's room (to be resolved as null), or to define custom location ordinals.