mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:41:29 +01:00
[Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
This commit is contained in:
parent
cad4f85021
commit
70900406c9
@ -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