mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
[Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
This commit is contained in:
parent
b37872c1a6
commit
28c1f571d2
1 changed files with 4 additions and 0 deletions
|
@ -266,6 +266,10 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
|
|||
getHandle().closeInventory();
|
||||
}
|
||||
|
||||
public boolean isBlocking() {
|
||||
return getHandle().O();
|
||||
}
|
||||
|
||||
public boolean setWindowProperty(InventoryView.Property prop, int value) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue