mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
added method to force an inventory update
By: Tahg <tahgtahv@gmail.com>
This commit is contained in:
parent
0788f8e7d0
commit
6589841a6f
1 changed files with 4 additions and 0 deletions
|
@ -158,4 +158,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||
public boolean isSneaking() {
|
||||
return entity.J();
|
||||
}
|
||||
|
||||
public void updateInventory() {
|
||||
entity.l();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue