Merge pull request #523 from Artuto/dev/1.1.0

Add support for retrieving the Player's client brand
This commit is contained in:
Andrew Steinborn
2021-06-12 23:11:41 +00:00
committed by GitHub
4 changed files with 27 additions and 5 deletions

View File

@@ -218,4 +218,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
*/
@Nullable String getClientBrand();
}