diff options
author | Tahg <tahgtahv@gmail.com> | 2011-02-08 21:52:06 -0500 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2011-02-08 21:52:06 -0500 |
commit | 03be05790e39b428e7da8f893b884d5994441fbb (patch) | |
tree | 19865decb1487888afced865962d08a7e2658103 /src/main/java/org | |
parent | 43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c (diff) | |
download | craftbukkit-03be05790e39b428e7da8f893b884d5994441fbb.tar craftbukkit-03be05790e39b428e7da8f893b884d5994441fbb.tar.gz craftbukkit-03be05790e39b428e7da8f893b884d5994441fbb.tar.lz craftbukkit-03be05790e39b428e7da8f893b884d5994441fbb.tar.xz craftbukkit-03be05790e39b428e7da8f893b884d5994441fbb.zip |
added method to force an inventory update
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index b90931fe..7871480a 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -158,4 +158,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player { public boolean isSneaking() { return entity.J(); } + + public void updateInventory() { + entity.l(); + } } |