{"action":"opened","issue":{"url":"https://api.github.com/repos/PurePlugins/PurePerms/issues/108","labels_url":"https://api.github.com/repos/PurePlugins/PurePerms/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/PurePlugins/PurePerms/issues/108/comments","events_url":"https://api.github.com/repos/PurePlugins/PurePerms/issues/108/events","html_url":"https://github.com/PurePlugins/PurePerms/issues/108","id":110256169,"number":108,"title":"ServerCrash due to PPerms","user":{"login":"vvzar","id":5399200,"avatar_url":"https://avatars.githubusercontent.com/u/5399200?v=3","gravatar_id":"","url":"https://api.github.com/users/vvzar","html_url":"https://github.com/vvzar","followers_url":"https://api.github.com/users/vvzar/followers","following_url":"https://api.github.com/users/vvzar/following{/other_user}","gists_url":"https://api.github.com/users/vvzar/gists{/gist_id}","starred_url":"https://api.github.com/users/vvzar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvzar/subscriptions","organizations_url":"https://api.github.com/users/vvzar/orgs","repos_url":"https://api.github.com/users/vvzar/repos","events_url":"https://api.github.com/users/vvzar/events{/privacy}","received_events_url":"https://api.github.com/users/vvzar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T15:46:30Z","updated_at":"2015-10-07T15:46:30Z","closed_at":null,"body":"Error: Call to a member function toString() on null\r\nFile: /mcpe/shared/Plugins/PurePerms_v1.1.12-PMv1.6dev.phar/src/_64FF00/PurePerms/PurePerms\r\nLine: 661\r\nType: E_ERROR\r\n\r\nTHIS CRASH WAS CAUSED BY A PLUGIN\r\n\r\nCode:\r\n[652]     }\r\n[653]\r\n[654]     /**\r\n[655]      * @param Player $player\r\n[656]      */\r\n[657]     public function unregisterPlayer(Player $player)\r\n[658]     {\r\n[659]         $this->getLogger()->debug($this->getMessage(\"logger_messages.unregisterPlayer\", $player->getName()));\r\n[660]\r\n[661]         $uniqueId = $player->getUniqueId()->toString();\r\n[662]\r\n[663]         if(isset($this->attachments[$uniqueId])) $player->removeAttachment($this->attachments[$uniqueId]);\r\n[664]\r\n[665]         unset($this->attachments[$uniqueId]);\r\n[666]     }\r\n[667] }\r\n[668]\r\n[669]\r\n[670]\r\n[671]\r\n"}}