13
0
geforkt von Mirrors/Paper

Moved getName from Player to HumanEntity

By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2010-12-30 04:29:53 +00:00
Ursprung 2306dd52d7
Commit 54e61aab10
2 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -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

Datei anzeigen

@ -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
*