mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2025-03-14 07:00:03 -04:00
Address review
This commit is contained in:
parent
8e35946a9b
commit
64002e9b07
2 changed files with 3 additions and 1 deletions
protocol/src/main/java/org/geysermc/mcprotocollib/network
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue