mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
added method to force an inventory update
By: Tahg <tahgtahv@gmail.com>
This commit is contained in:
@@ -158,4 +158,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
public boolean isSneaking() {
|
||||
return entity.J();
|
||||
}
|
||||
|
||||
public void updateInventory() {
|
||||
entity.l();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user