{"action":"created","issue":{"url":"https://api.github.com/repos/ImagicalMine/ImagicalMine/issues/836","repository_url":"https://api.github.com/repos/ImagicalMine/ImagicalMine","labels_url":"https://api.github.com/repos/ImagicalMine/ImagicalMine/issues/836/labels{/name}","comments_url":"https://api.github.com/repos/ImagicalMine/ImagicalMine/issues/836/comments","events_url":"https://api.github.com/repos/ImagicalMine/ImagicalMine/issues/836/events","html_url":"https://github.com/ImagicalMine/ImagicalMine/issues/836","id":131500026,"number":836,"title":"Really? :( crash","user":{"login":"astersx","id":13157548,"avatar_url":"https://avatars.githubusercontent.com/u/13157548?v=3","gravatar_id":"","url":"https://api.github.com/users/astersx","html_url":"https://github.com/astersx","followers_url":"https://api.github.com/users/astersx/followers","following_url":"https://api.github.com/users/astersx/following{/other_user}","gists_url":"https://api.github.com/users/astersx/gists{/gist_id}","starred_url":"https://api.github.com/users/astersx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astersx/subscriptions","organizations_url":"https://api.github.com/users/astersx/orgs","repos_url":"https://api.github.com/users/astersx/repos","events_url":"https://api.github.com/users/astersx/events{/privacy}","received_events_url":"https://api.github.com/users/astersx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-02-04T22:59:43Z","updated_at":"2016-02-04T23:30:32Z","closed_at":null,"body":"ImagicalMine Crash Dump Thu Feb 4 22:57:50 UTC 2016\r\n\r\nError: Call to a member function onPlayerAction() on null\r\nFile: /src/pocketmine/Player\r\nLine: 2559\r\nType: E_ERROR\r\n\r\nCode:\r\n[2550] \t\t\t\t\tbreak;\r\n[2551] \t\t\t\t}\r\n[2552] \t\t\t\t$this->craftingType = 0;\r\n[2553] \t\t\t\t$target = $this->level->getEntity($packet->target);\r\n[2554] \t\t\t\t$cancelled = false;\r\n[2555] \t\t\t\tif($target instanceof Player and $this->server->getConfigBoolean(\"pvp\", true) === false\r\n[2556] \t\t\t\t){\r\n[2557] \t\t\t\t\t$cancelled = true;\r\n[2558] \t\t\t\t}\r\n[2559] \t\t\t\t$target->onPlayerAction($this, $packet->action);\r\n[2560] \t\t\t\t// @todo move this to the entity\r\n[2561] \t\t\t\t//if($target instanceof Boat or $target instanceof Minecart){\r\n[2562] \t\t\t\tif($target instanceof Boat) {\r\n[2563] \t\t\t\t\tif($packet->action === 1){\r\n[2564] \t\t\t\t\t\t$this->linkEntity($target);\r\n[2565] \t\t\t\t\t}elseif($packet->action === 2){\r\n[2566] \t\t\t\t\t\tif($this->linkedEntity == $target){\r\n[2567] \t\t\t\t\t\t\t$target->setLinked(0, $this);\r\n[2568] \t\t\t\t\t\t}\r\n[2569] \t\t\t\t\t\t$target->close();\r\n"},"comment":{"url":"https://api.github.com/repos/ImagicalMine/ImagicalMine/issues/comments/180101937","html_url":"https://github.com/ImagicalMine/ImagicalMine/issues/836#issuecomment-180101937","issue_url":"https://api.github.com/repos/ImagicalMine/ImagicalMine/issues/836","id":180101937,"user":{"login":"astersx","id":13157548,"avatar_url":"https://avatars.githubusercontent.com/u/13157548?v=3","gravatar_id":"","url":"https://api.github.com/users/astersx","html_url":"https://github.com/astersx","followers_url":"https://api.github.com/users/astersx/followers","following_url":"https://api.github.com/users/astersx/following{/other_user}","gists_url":"https://api.github.com/users/astersx/gists{/gist_id}","starred_url":"https://api.github.com/users/astersx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astersx/subscriptions","organizations_url":"https://api.github.com/users/astersx/orgs","repos_url":"https://api.github.com/users/astersx/repos","events_url":"https://api.github.com/users/astersx/events{/privacy}","received_events_url":"https://api.github.com/users/astersx/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T23:30:32Z","updated_at":"2016-02-04T23:30:32Z","body":"If a mob give xp,  it crash"}}