1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-17 02:34:30 +01:00

Brand support

This commit is contained in:
DigitalRegent 2020-04-06 20:30:09 +02:00
parent 3670ee6672
commit 5df47beccf

View file

@ -3488,6 +3488,16 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
// Paper end
}
// Paper start - brand support
/**
* Returns player's client brand name. If the client didn't send this information, the brand name will be null.<br>
* For the Notchian client this name defaults to <code>vanilla</code>. Some modified clients report other names such as <code>forge</code>.<br>
* @return client brand name
*/
@Nullable
String getClientBrandName();
// Paper end
@NotNull
@Override
Spigot spigot();