Skip to content

Commit 6c040b9

Browse files
MatyrobbrtXFactHD
andauthored
Update docs/datamaps/index.md
Co-authored-by: Dennis C <xfacthd@gmx.de>
1 parent f22ce03 commit 6c040b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/datamaps/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ and then registered to the `RegisterDataMapTypesEvent` using `RegisterDataMapTyp
4646
## Syncing
4747
A synced data map will have its values synced to clients. A data map can be marked as synced using `DataMapType$Builder#synced(Codec<T> networkCodec, boolean mandatory)`.
4848
The values of the data map will then be synced using the `networkCodec`.
49-
If the `mandatory` flag is set to `true`, clients that do not support the data map (including Vanilla clients) will not be able to connect to the server, nor vice-versa. A non-mandatory data map is, on the other side, optional, so it will not prevent any clients from joining.
49+
If the `mandatory` flag is set to `true`, clients that do not support the data map (including Vanilla clients) will not be able to connect to the server, nor vice-versa. A non-mandatory data map on the other hand is optional, so it will not prevent any clients from joining.
5050

5151
:::tip
5252
A separate network codec allows for packet sizes to be smaller, as you can choose what data to send, and in what format. Otherwise the default codec can be used.

0 commit comments

Comments
 (0)