1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-16 18:31:53 +01:00

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();
}
}