mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 03:25:15 +01:00
[Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
This commit is contained in:
parent
b37872c1a6
commit
28c1f571d2
@ -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 New Issue
Block a user