mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
added method to force an inventory update
This commit is contained in:
parent
43ef3b3037
commit
03be05790e
2 changed files with 5 additions and 1 deletions
|
@ -158,4 +158,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||
public boolean isSneaking() {
|
||||
return entity.J();
|
||||
}
|
||||
|
||||
public void updateInventory() {
|
||||
entity.l();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue