{"action":"created","comment":{"url":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/comments/181840557","pull_request_review_id":112535279,"id":181840557,"diff_hunk":"@@ -12,4 +16,10 @@ object Forgelin {\n \tconst val NAME = \"Forgelin\"\n \tconst val VERSION = \"@VERSION@\"\n \n-}\n\\ No newline at end of file\n+\t@EventHandler\n+\tfun onPreInit(event: FMLPreInitializationEvent) {","path":"src/main/kotlin/net/shadowfacts/forgelin/Forgelin.kt","position":18,"original_position":18,"commit_id":"0b51dc4a6479eeed4be1f15ad7a4fa5c1b47998c","original_commit_id":"0b51dc4a6479eeed4be1f15ad7a4fa5c1b47998c","user":{"login":"gegy1000","id":5172118,"avatar_url":"https://avatars3.githubusercontent.com/u/5172118?v=4","gravatar_id":"","url":"https://api.github.com/users/gegy1000","html_url":"https://github.com/gegy1000","followers_url":"https://api.github.com/users/gegy1000/followers","following_url":"https://api.github.com/users/gegy1000/following{/other_user}","gists_url":"https://api.github.com/users/gegy1000/gists{/gist_id}","starred_url":"https://api.github.com/users/gegy1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gegy1000/subscriptions","organizations_url":"https://api.github.com/users/gegy1000/orgs","repos_url":"https://api.github.com/users/gegy1000/repos","events_url":"https://api.github.com/users/gegy1000/events{/privacy}","received_events_url":"https://api.github.com/users/gegy1000/received_events","type":"User","site_admin":false},"body":"Not sure if it is possible to hook into construction -- when I checked, it didn't look like it. Though I suppose it could be possible by running within the constructor?","created_at":"2018-04-16T18:27:28Z","updated_at":"2018-04-16T18:27:28Z","html_url":"https://github.com/shadowfacts/Forgelin/pull/34#discussion_r181840557","pull_request_url":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/34","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/comments/181840557"},"html":{"href":"https://github.com/shadowfacts/Forgelin/pull/34#discussion_r181840557"},"pull_request":{"href":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/34"}},"in_reply_to_id":181822931},"pull_request":{"url":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/34","id":181931797,"html_url":"https://github.com/shadowfacts/Forgelin/pull/34","diff_url":"https://github.com/shadowfacts/Forgelin/pull/34.diff","patch_url":"https://github.com/shadowfacts/Forgelin/pull/34.patch","issue_url":"https://api.github.com/repos/shadowfacts/Forgelin/issues/34","number":34,"state":"open","locked":false,"title":"Object EventBusSubscriber registration","user":{"login":"gegy1000","id":5172118,"avatar_url":"https://avatars3.githubusercontent.com/u/5172118?v=4","gravatar_id":"","url":"https://api.github.com/users/gegy1000","html_url":"https://github.com/gegy1000","followers_url":"https://api.github.com/users/gegy1000/followers","following_url":"https://api.github.com/users/gegy1000/following{/other_user}","gists_url":"https://api.github.com/users/gegy1000/gists{/gist_id}","starred_url":"https://api.github.com/users/gegy1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gegy1000/subscriptions","organizations_url":"https://api.github.com/users/gegy1000/orgs","repos_url":"https://api.github.com/users/gegy1000/repos","events_url":"https://api.github.com/users/gegy1000/events{/privacy}","received_events_url":"https://api.github.com/users/gegy1000/received_events","type":"User","site_admin":false},"body":"This PR adds a scanner for all Kotlin objects with the `EventBusSubscriber` annotation and registers them to the event bus.\r\n\r\nI'm not too sure about how this is implemented, or if this is something that should be apart of Forgelin (it seems like nothing like this will make it into Forge itself).\r\nAny feedback appreciated!","created_at":"2018-04-16T17:08:06Z","updated_at":"2018-04-16T18:27:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e7c7e2de232067d94cc31176d15883daa09d3f3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/34/commits","review_comments_url":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/34/comments","review_comment_url":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shadowfacts/Forgelin/issues/34/comments","statuses_url":"https://api.github.com/repos/shadowfacts/Forgelin/statuses/0b51dc4a6479eeed4be1f15ad7a4fa5c1b47998c","head":{"label":"gegy1000:master","ref":"master","sha":"0b51dc4a6479eeed4be1f15ad7a4fa5c1b47998c","user":{"login":"gegy1000","id":5172118,"avatar_url":"https://avatars3.githubusercontent.com/u/5172118?v=4","gravatar_id":"","url":"https://api.github.com/users/gegy1000","html_url":"https://github.com/gegy1000","followers_url":"https://api.github.com/users/gegy1000/followers","following_url":"https://api.github.com/users/gegy1000/following{/other_user}","gists_url":"https://api.github.com/users/gegy1000/gists{/gist_id}","starred_url":"https://api.github.com/users/gegy1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gegy1000/subscriptions","organizations_url":"https://api.github.com/users/gegy1000/orgs","repos_url":"https://api.github.com/users/gegy1000/repos","events_url":"https://api.github.com/users/gegy1000/events{/privacy}","received_events_url":"https://api.github.com/users/gegy1000/received_events","type":"User","site_admin":false},"repo":{"id":129762798,"name":"Forgelin","full_name":"gegy1000/Forgelin","owner":{"login":"gegy1000","id":5172118,"avatar_url":"https://avatars3.githubusercontent.com/u/5172118?v=4","gravatar_id":"","url":"https://api.github.com/users/gegy1000","html_url":"https://github.com/gegy1000","followers_url":"https://api.github.com/users/gegy1000/followers","following_url":"https://api.github.com/users/gegy1000/following{/other_user}","gists_url":"https://api.github.com/users/gegy1000/gists{/gist_id}","starred_url":"https://api.github.com/users/gegy1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gegy1000/subscriptions","organizations_url":"https://api.github.com/users/gegy1000/orgs","repos_url":"https://api.github.com/users/gegy1000/repos","events_url":"https://api.github.com/users/gegy1000/events{/privacy}","received_events_url":"https://api.github.com/users/gegy1000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gegy1000/Forgelin","description":"Fork of Emberwalker's Forgelin with some sprinkles on top.","fork":true,"url":"https://api.github.com/repos/gegy1000/Forgelin","forks_url":"https://api.github.com/repos/gegy1000/Forgelin/forks","keys_url":"https://api.github.com/repos/gegy1000/Forgelin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gegy1000/Forgelin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gegy1000/Forgelin/teams","hooks_url":"https://api.github.com/repos/gegy1000/Forgelin/hooks","issue_events_url":"https://api.github.com/repos/gegy1000/Forgelin/issues/events{/number}","events_url":"https://api.github.com/repos/gegy1000/Forgelin/events","assignees_url":"https://api.github.com/repos/gegy1000/Forgelin/assignees{/user}","branches_url":"https://api.github.com/repos/gegy1000/Forgelin/branches{/branch}","tags_url":"https://api.github.com/repos/gegy1000/Forgelin/tags","blobs_url":"https://api.github.com/repos/gegy1000/Forgelin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gegy1000/Forgelin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gegy1000/Forgelin/git/refs{/sha}","trees_url":"https://api.github.com/repos/gegy1000/Forgelin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gegy1000/Forgelin/statuses/{sha}","languages_url":"https://api.github.com/repos/gegy1000/Forgelin/languages","stargazers_url":"https://api.github.com/repos/gegy1000/Forgelin/stargazers","contributors_url":"https://api.github.com/repos/gegy1000/Forgelin/contributors","subscribers_url":"https://api.github.com/repos/gegy1000/Forgelin/subscribers","subscription_url":"https://api.github.com/repos/gegy1000/Forgelin/subscription","commits_url":"https://api.github.com/repos/gegy1000/Forgelin/commits{/sha}","git_commits_url":"https://api.github.com/repos/gegy1000/Forgelin/git/commits{/sha}","comments_url":"https://api.github.com/repos/gegy1000/Forgelin/comments{/number}","issue_comment_url":"https://api.github.com/repos/gegy1000/Forgelin/issues/comments{/number}","contents_url":"https://api.github.com/repos/gegy1000/Forgelin/contents/{+path}","compare_url":"https://api.github.com/repos/gegy1000/Forgelin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gegy1000/Forgelin/merges","archive_url":"https://api.github.com/repos/gegy1000/Forgelin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gegy1000/Forgelin/downloads","issues_url":"https://api.github.com/repos/gegy1000/Forgelin/issues{/number}","pulls_url":"https://api.github.com/repos/gegy1000/Forgelin/pulls{/number}","milestones_url":"https://api.github.com/repos/gegy1000/Forgelin/milestones{/number}","notifications_url":"https://api.github.com/repos/gegy1000/Forgelin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gegy1000/Forgelin/labels{/name}","releases_url":"https://api.github.com/repos/gegy1000/Forgelin/releases{/id}","deployments_url":"https://api.github.com/repos/gegy1000/Forgelin/deployments","created_at":"2018-04-16T15:11:42Z","updated_at":"2018-04-16T17:03:44Z","pushed_at":"2018-04-16T17:03:43Z","git_url":"git://github.com/gegy1000/Forgelin.git","ssh_url":"git@github.com:gegy1000/Forgelin.git","clone_url":"https://github.com/gegy1000/Forgelin.git","svn_url":"https://github.com/gegy1000/Forgelin","homepage":null,"size":94,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"shadowfacts:master","ref":"master","sha":"68c718fe57dbc53add10a1e2ea5e1530e36543cc","user":{"login":"shadowfacts","id":7091588,"avatar_url":"https://avatars2.githubusercontent.com/u/7091588?v=4","gravatar_id":"","url":"https://api.github.com/users/shadowfacts","html_url":"https://github.com/shadowfacts","followers_url":"https://api.github.com/users/shadowfacts/followers","following_url":"https://api.github.com/users/shadowfacts/following{/other_user}","gists_url":"https://api.github.com/users/shadowfacts/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowfacts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowfacts/subscriptions","organizations_url":"https://api.github.com/users/shadowfacts/orgs","repos_url":"https://api.github.com/users/shadowfacts/repos","events_url":"https://api.github.com/users/shadowfacts/events{/privacy}","received_events_url":"https://api.github.com/users/shadowfacts/received_events","type":"User","site_admin":false},"repo":{"id":65086415,"name":"Forgelin","full_name":"shadowfacts/Forgelin","owner":{"login":"shadowfacts","id":7091588,"avatar_url":"https://avatars2.githubusercontent.com/u/7091588?v=4","gravatar_id":"","url":"https://api.github.com/users/shadowfacts","html_url":"https://github.com/shadowfacts","followers_url":"https://api.github.com/users/shadowfacts/followers","following_url":"https://api.github.com/users/shadowfacts/following{/other_user}","gists_url":"https://api.github.com/users/shadowfacts/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowfacts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowfacts/subscriptions","organizations_url":"https://api.github.com/users/shadowfacts/orgs","repos_url":"https://api.github.com/users/shadowfacts/repos","events_url":"https://api.github.com/users/shadowfacts/events{/privacy}","received_events_url":"https://api.github.com/users/shadowfacts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shadowfacts/Forgelin","description":"Fork of Emberwalker's Forgelin with some sprinkles on top.","fork":false,"url":"https://api.github.com/repos/shadowfacts/Forgelin","forks_url":"https://api.github.com/repos/shadowfacts/Forgelin/forks","keys_url":"https://api.github.com/repos/shadowfacts/Forgelin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shadowfacts/Forgelin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shadowfacts/Forgelin/teams","hooks_url":"https://api.github.com/repos/shadowfacts/Forgelin/hooks","issue_events_url":"https://api.github.com/repos/shadowfacts/Forgelin/issues/events{/number}","events_url":"https://api.github.com/repos/shadowfacts/Forgelin/events","assignees_url":"https://api.github.com/repos/shadowfacts/Forgelin/assignees{/user}","branches_url":"https://api.github.com/repos/shadowfacts/Forgelin/branches{/branch}","tags_url":"https://api.github.com/repos/shadowfacts/Forgelin/tags","blobs_url":"https://api.github.com/repos/shadowfacts/Forgelin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shadowfacts/Forgelin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shadowfacts/Forgelin/git/refs{/sha}","trees_url":"https://api.github.com/repos/shadowfacts/Forgelin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shadowfacts/Forgelin/statuses/{sha}","languages_url":"https://api.github.com/repos/shadowfacts/Forgelin/languages","stargazers_url":"https://api.github.com/repos/shadowfacts/Forgelin/stargazers","contributors_url":"https://api.github.com/repos/shadowfacts/Forgelin/contributors","subscribers_url":"https://api.github.com/repos/shadowfacts/Forgelin/subscribers","subscription_url":"https://api.github.com/repos/shadowfacts/Forgelin/subscription","commits_url":"https://api.github.com/repos/shadowfacts/Forgelin/commits{/sha}","git_commits_url":"https://api.github.com/repos/shadowfacts/Forgelin/git/commits{/sha}","comments_url":"https://api.github.com/repos/shadowfacts/Forgelin/comments{/number}","issue_comment_url":"https://api.github.com/repos/shadowfacts/Forgelin/issues/comments{/number}","contents_url":"https://api.github.com/repos/shadowfacts/Forgelin/contents/{+path}","compare_url":"https://api.github.com/repos/shadowfacts/Forgelin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shadowfacts/Forgelin/merges","archive_url":"https://api.github.com/repos/shadowfacts/Forgelin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shadowfacts/Forgelin/downloads","issues_url":"https://api.github.com/repos/shadowfacts/Forgelin/issues{/number}","pulls_url":"https://api.github.com/repos/shadowfacts/Forgelin/pulls{/number}","milestones_url":"https://api.github.com/repos/shadowfacts/Forgelin/milestones{/number}","notifications_url":"https://api.github.com/repos/shadowfacts/Forgelin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shadowfacts/Forgelin/labels{/name}","releases_url":"https://api.github.com/repos/shadowfacts/Forgelin/releases{/id}","deployments_url":"https://api.github.com/repos/shadowfacts/Forgelin/deployments","created_at":"2016-08-06T14:33:00Z","updated_at":"2018-04-12T09:22:15Z","pushed_at":"2018-04-16T17:08:06Z","git_url":"git://github.com/shadowfacts/Forgelin.git","ssh_url":"git@github.com:shadowfacts/Forgelin.git","clone_url":"https://github.com/shadowfacts/Forgelin.git","svn_url":"https://github.com/shadowfacts/Forgelin","homepage":null,"size":92,"stargazers_count":35,"watchers_count":35,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":6,"open_issues":4,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/34"},"html":{"href":"https://github.com/shadowfacts/Forgelin/pull/34"},"issue":{"href":"https://api.github.com/repos/shadowfacts/Forgelin/issues/34"},"comments":{"href":"https://api.github.com/repos/shadowfacts/Forgelin/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shadowfacts/Forgelin/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/shadowfacts/Forgelin/statuses/0b51dc4a6479eeed4be1f15ad7a4fa5c1b47998c"}},"author_association":"NONE"}}
{"actor":{"display_login":"gegy1000"}}