[Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
This commit is contained in:
parent
d22352013f
commit
668c369ecc
@ -139,4 +139,11 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, Permissible, Inv
|
|||||||
* @param mode New game mode
|
* @param mode New game mode
|
||||||
*/
|
*/
|
||||||
public void setGameMode(GameMode mode);
|
public void setGameMode(GameMode mode);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if the player is currently blocking (ie with a sword).
|
||||||
|
*
|
||||||
|
* @return Whether they are blocking.
|
||||||
|
*/
|
||||||
|
public boolean isBlocking();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user