Address review

This commit is contained in:
AlexProgrammerDE 2024-02-28 18:40:45 +01:00
parent 8e35946a9b
commit 64002e9b07
2 changed files with 3 additions and 1 deletions
protocol/src/main/java/org/geysermc/mcprotocollib/network

View file

@ -80,6 +80,7 @@ public interface Server {
* Sets the value of a flag. The flag will be used in sessions if a session does
* not contain a value for the flag.
*
* @param <T> Type of the flag.
* @param flag Flag to check for.
* @param value Value to set the flag to.
*/

View file

@ -118,7 +118,8 @@ public interface Session {
* Sets the value of a flag. This does not change a server's flags if this session
* belongs to a server.
*
* @param flag Flag to check for.
* @param <T> Type of the flag.
* @param flag Flag to check for.
* @param value Value to set the flag to.
*/
<T> void setFlag(Flag<T> flag, T value);