Fixed the following bugs:
- wrong permissions set for the /afk command
- lack of permissions for the /afkTime command
- error occurring when a player closes their game while their inventory is open
Removed permission 'afk.time' and added 'afk.timechange' and 'afk.viewtime'