From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: DigitalRegent Date: Mon, 6 Apr 2020 20:30:09 +0200 Subject: [PATCH] Brand support diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java index f4b1ed868a1fc8aa22fd07c3bf3aef886b8c8679..38c61979c20768ad7790c2c7d6463c9d10fb3611 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/src/main/java/org/bukkit/entity/Player.java @@ -3463,6 +3463,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.
+ * For the Notchian client this name defaults to vanilla. Some modified clients report other names such as forge.
+ * @return client brand name + */ + @Nullable + String getClientBrandName(); + // Paper end + @NotNull @Override Spigot spigot();