Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/en-us/resources/plant-reference-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ tell the client how many coins it has, you can call the following and let the
client subscribe to it via the `PlayerDataClient.updated` event.

```lua
PlayerDataServer:setValue(player, "coins", 5)
PlayerDataServer.setValue(player, "coins", 5)
```

Of course, this is only useful for server-to-client replication and for values that you want to persist between sessions, but this applies to a surprising number of cases in the project, including:
Expand Down