if (human != null) {
human.updateAbilities();
}
getSession().send(new PlayerHeldItemChangeMessage(getOwner().add(PlayerInventory.class).getQuickbar().getSelectedSlot().getIndex()));
// Vanilla Only, MC does not send full inventory update on world change, nor on first connect
PlayerInventory inv = getOwner().get(PlayerInventory.class);
if (inv != null) {
inv.updateAll();