geforkt von Mirrors/Paper
Moved getName from Player to HumanEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
2306dd52d7
Commit
54e61aab10
@ -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
|
||||
|
@ -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
|
||||
*
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren