Add support for retrieving the Player's client brand

This commit is contained in:
Artuto
2021-06-11 23:44:51 -05:00
parent 793ad443c6
commit c8d50f3fdd
4 changed files with 27 additions and 5 deletions

View File

@@ -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();
}