mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
[Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
This commit is contained in:
1 parent
b37872c1a6
commit
28c1f571d2
1 file changed
+4
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user