diff --git a/paper-api/src/org/bukkit/HumanEntity.java b/paper-api/src/org/bukkit/HumanEntity.java index f839aa3c97..349251d71f 100644 --- a/paper-api/src/org/bukkit/HumanEntity.java +++ b/paper-api/src/org/bukkit/HumanEntity.java @@ -5,6 +5,13 @@ package org.bukkit; * Represents a human entity, such as an NPC or a player */ public interface HumanEntity extends LivingEntity { + /** + * Returns the name of this player + * + * @return Player name + */ + public String getName(); + /** * Gets the item this entity has currently selected, which will be shown in * their hand diff --git a/paper-api/src/org/bukkit/Player.java b/paper-api/src/org/bukkit/Player.java index 4e1a34aaa1..1958caf994 100644 --- a/paper-api/src/org/bukkit/Player.java +++ b/paper-api/src/org/bukkit/Player.java @@ -6,13 +6,6 @@ package org.bukkit; * */ public interface Player extends HumanEntity { - /** - * Returns the name of this player - * - * @return Player name - */ - public String getName(); - /** * Checks if this player is currently online *