mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-22 15:05:35 +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() {
|
public boolean isSneaking() {
|
||||||
return entity.J();
|
return entity.J();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void updateInventory() {
|
||||||
|
entity.l();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue