diff options
-rw-r--r-- | src/org/bukkit/HumanEntity.java | 7 | ||||
-rw-r--r-- | src/org/bukkit/Player.java | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/org/bukkit/HumanEntity.java b/src/org/bukkit/HumanEntity.java index f839aa3c..349251d7 100644 --- a/src/org/bukkit/HumanEntity.java +++ b/src/org/bukkit/HumanEntity.java @@ -6,6 +6,13 @@ package org.bukkit; */ 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/src/org/bukkit/Player.java b/src/org/bukkit/Player.java index 4e1a34aa..1958caf9 100644 --- a/src/org/bukkit/Player.java +++ b/src/org/bukkit/Player.java @@ -7,13 +7,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 * * @return true if they are online |