Add support for retrieving the Player's client brand
This commit is contained in:
@@ -275,4 +275,11 @@ public interface Player extends CommandSource, Identified, InboundConnection,
|
||||
*/
|
||||
@Override
|
||||
boolean sendPluginMessage(ChannelIdentifier identifier, byte[] data);
|
||||
|
||||
/**
|
||||
* Gets the player's client brand.
|
||||
*
|
||||
* @return the player's client brand
|
||||
*/
|
||||
Optional<String> getClientBrand();
|
||||
}
|
||||
|
Reference in New Issue
Block a user