lapis readonly
I'm trying to create a wrapper function that simplifies reading and writing player data. However, I'm encountering an error that says:
"attempt to modify readonly table."
Lapis is returning the data as a readonly table, so I need a way to safely create a mutable copy of this data, modify it, and then send it back to be written.
How can I do this properly?
Sorry if this is a silly question.
3 Replies