If we have a flag as:
- flag <player> test <map[]>
and want to set property foo = bar on this map, it seems not possible to do:
- adjust <player.flag[test]>.foo bar
because presumably it never stores the updated map as flag after mutating it, and
- flag <player.flag[test]> foo bar
because maps are not a flaggable type.
So are the only 2 ways to do this:
- Get the flag map as value, mutate it and then update the flag with
- flag <player> test <[mutatedMap]> - Split up a map and set each key as individual flag
Or is there a way to directly change a flagged map without taking it out and re-storing it again?