added method to force an inventory update

By: Tahg <tahgtahv@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-02-08 21:52:06 -05:00
parent 0788f8e7d0
commit 6589841a6f

View file

@ -158,4 +158,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
public boolean isSneaking() {
return entity.J();
}
public void updateInventory() {
entity.l();
}
}