Suppressed warnings about deprecation...

...for player.updateInventory();