diff options
author | Celtic Minstrel <celtic.minstrel.ca@some.place> | 2012-03-12 10:55:00 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-03-13 19:43:07 -0400 |
commit | 28c1f571d25100ae6cee24bffedcee28c1ccf790 (patch) | |
tree | 5dccf5166ffb94fee38f8b3d0b08ba134da146ad /src/main | |
parent | b37872c1a6dda6698339300797b0d8f82046457e (diff) | |
download | craftbukkit-28c1f571d25100ae6cee24bffedcee28c1ccf790.tar craftbukkit-28c1f571d25100ae6cee24bffedcee28c1ccf790.tar.gz craftbukkit-28c1f571d25100ae6cee24bffedcee28c1ccf790.tar.lz craftbukkit-28c1f571d25100ae6cee24bffedcee28c1ccf790.tar.xz craftbukkit-28c1f571d25100ae6cee24bffedcee28c1ccf790.zip |
[Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index 3d1f27e3..a033f1e5 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java @@ -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; } |