{"action":"created","comment":{"url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/comments/63281621","id":63281621,"diff_hunk":"@@ -35,22 +32,70 @@\n  */\n public class EntityAIWorkBuilder extends AbstractEntityAIWork<JobBuilder>\n {\n+    /**\n+     * Amount of xp the builder gains each building (Will increase by attribute modifiers additionally)\n+     */\n+    private static final double XP_EACH_BUILDING = 2.5;\n+    /**\n+     * Position where the Builders constructs from.\n+     */\n+    private BlockPos workFrom = null;","path":"src/main/java/com/minecolonies/entity/ai/EntityAIWorkBuilder.java","position":42,"original_position":42,"commit_id":"36ec0e333f8e8f4508681dee77e37647917df8d3","original_commit_id":"36ec0e333f8e8f4508681dee77e37647917df8d3","user":{"login":"Kostronor","id":644950,"avatar_url":"https://avatars.githubusercontent.com/u/644950?v=3","gravatar_id":"","url":"https://api.github.com/users/Kostronor","html_url":"https://github.com/Kostronor","followers_url":"https://api.github.com/users/Kostronor/followers","following_url":"https://api.github.com/users/Kostronor/following{/other_user}","gists_url":"https://api.github.com/users/Kostronor/gists{/gist_id}","starred_url":"https://api.github.com/users/Kostronor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kostronor/subscriptions","organizations_url":"https://api.github.com/users/Kostronor/orgs","repos_url":"https://api.github.com/users/Kostronor/repos","events_url":"https://api.github.com/users/Kostronor/events{/privacy}","received_events_url":"https://api.github.com/users/Kostronor/received_events","type":"User","site_admin":false},"body":"![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) Remove this initialization to \"null\", the compiler will do that for you. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://home.kk-sc.de:9000/coding_rules#rule_key=squid%3AS3052)\n","created_at":"2016-05-14T20:33:50Z","updated_at":"2016-05-14T20:33:50Z","html_url":"https://github.com/MinecoloniesDevs/Minecolonies/pull/3#discussion_r63281621","pull_request_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/comments/63281621"},"html":{"href":"https://github.com/MinecoloniesDevs/Minecolonies/pull/3#discussion_r63281621"},"pull_request":{"href":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/3","id":70103077,"html_url":"https://github.com/MinecoloniesDevs/Minecolonies/pull/3","diff_url":"https://github.com/MinecoloniesDevs/Minecolonies/pull/3.diff","patch_url":"https://github.com/MinecoloniesDevs/Minecolonies/pull/3.patch","issue_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/issues/3","number":3,"state":"open","locked":false,"title":"Minecol 14 builder removes own floor and","user":{"login":"Kostronor","id":644950,"avatar_url":"https://avatars.githubusercontent.com/u/644950?v=3","gravatar_id":"","url":"https://api.github.com/users/Kostronor","html_url":"https://github.com/Kostronor","followers_url":"https://api.github.com/users/Kostronor/followers","following_url":"https://api.github.com/users/Kostronor/following{/other_user}","gists_url":"https://api.github.com/users/Kostronor/gists{/gist_id}","starred_url":"https://api.github.com/users/Kostronor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kostronor/subscriptions","organizations_url":"https://api.github.com/users/Kostronor/orgs","repos_url":"https://api.github.com/users/Kostronor/repos","events_url":"https://api.github.com/users/Kostronor/events{/privacy}","received_events_url":"https://api.github.com/users/Kostronor/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-14T20:30:02Z","updated_at":"2016-05-14T20:33:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7c4908963b9f5c118e39a1f61e063133af6e39b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/3/commits","review_comments_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/3/comments","review_comment_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/issues/3/comments","statuses_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/statuses/36ec0e333f8e8f4508681dee77e37647917df8d3","head":{"label":"MinecoloniesDevs:MINECOL-14-builder-removes-own-floor-and","ref":"MINECOL-14-builder-removes-own-floor-and","sha":"36ec0e333f8e8f4508681dee77e37647917df8d3","user":{"login":"MinecoloniesDevs","id":19327260,"avatar_url":"https://avatars.githubusercontent.com/u/19327260?v=3","gravatar_id":"","url":"https://api.github.com/users/MinecoloniesDevs","html_url":"https://github.com/MinecoloniesDevs","followers_url":"https://api.github.com/users/MinecoloniesDevs/followers","following_url":"https://api.github.com/users/MinecoloniesDevs/following{/other_user}","gists_url":"https://api.github.com/users/MinecoloniesDevs/gists{/gist_id}","starred_url":"https://api.github.com/users/MinecoloniesDevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinecoloniesDevs/subscriptions","organizations_url":"https://api.github.com/users/MinecoloniesDevs/orgs","repos_url":"https://api.github.com/users/MinecoloniesDevs/repos","events_url":"https://api.github.com/users/MinecoloniesDevs/events{/privacy}","received_events_url":"https://api.github.com/users/MinecoloniesDevs/received_events","type":"Organization","site_admin":false},"repo":{"id":58642151,"name":"Minecolonies","full_name":"MinecoloniesDevs/Minecolonies","owner":{"login":"MinecoloniesDevs","id":19327260,"avatar_url":"https://avatars.githubusercontent.com/u/19327260?v=3","gravatar_id":"","url":"https://api.github.com/users/MinecoloniesDevs","html_url":"https://github.com/MinecoloniesDevs","followers_url":"https://api.github.com/users/MinecoloniesDevs/followers","following_url":"https://api.github.com/users/MinecoloniesDevs/following{/other_user}","gists_url":"https://api.github.com/users/MinecoloniesDevs/gists{/gist_id}","starred_url":"https://api.github.com/users/MinecoloniesDevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinecoloniesDevs/subscriptions","organizations_url":"https://api.github.com/users/MinecoloniesDevs/orgs","repos_url":"https://api.github.com/users/MinecoloniesDevs/repos","events_url":"https://api.github.com/users/MinecoloniesDevs/events{/privacy}","received_events_url":"https://api.github.com/users/MinecoloniesDevs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MinecoloniesDevs/Minecolonies","description":"","fork":false,"url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies","forks_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/forks","keys_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/teams","hooks_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/hooks","issue_events_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/events","assignees_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/tags","blobs_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/languages","stargazers_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/stargazers","contributors_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/contributors","subscribers_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/subscribers","subscription_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/subscription","commits_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/merges","archive_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/downloads","issues_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/deployments","created_at":"2016-05-12T13:04:58Z","updated_at":"2016-05-14T02:37:16Z","pushed_at":"2016-05-14T20:30:02Z","git_url":"git://github.com/MinecoloniesDevs/Minecolonies.git","ssh_url":"git@github.com:MinecoloniesDevs/Minecolonies.git","clone_url":"https://github.com/MinecoloniesDevs/Minecolonies.git","svn_url":"https://github.com/MinecoloniesDevs/Minecolonies","homepage":null,"size":4947,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"MinecoloniesDevs:master","ref":"master","sha":"07429133ef904aa91f08e03be815c85e15cf4a85","user":{"login":"MinecoloniesDevs","id":19327260,"avatar_url":"https://avatars.githubusercontent.com/u/19327260?v=3","gravatar_id":"","url":"https://api.github.com/users/MinecoloniesDevs","html_url":"https://github.com/MinecoloniesDevs","followers_url":"https://api.github.com/users/MinecoloniesDevs/followers","following_url":"https://api.github.com/users/MinecoloniesDevs/following{/other_user}","gists_url":"https://api.github.com/users/MinecoloniesDevs/gists{/gist_id}","starred_url":"https://api.github.com/users/MinecoloniesDevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinecoloniesDevs/subscriptions","organizations_url":"https://api.github.com/users/MinecoloniesDevs/orgs","repos_url":"https://api.github.com/users/MinecoloniesDevs/repos","events_url":"https://api.github.com/users/MinecoloniesDevs/events{/privacy}","received_events_url":"https://api.github.com/users/MinecoloniesDevs/received_events","type":"Organization","site_admin":false},"repo":{"id":58642151,"name":"Minecolonies","full_name":"MinecoloniesDevs/Minecolonies","owner":{"login":"MinecoloniesDevs","id":19327260,"avatar_url":"https://avatars.githubusercontent.com/u/19327260?v=3","gravatar_id":"","url":"https://api.github.com/users/MinecoloniesDevs","html_url":"https://github.com/MinecoloniesDevs","followers_url":"https://api.github.com/users/MinecoloniesDevs/followers","following_url":"https://api.github.com/users/MinecoloniesDevs/following{/other_user}","gists_url":"https://api.github.com/users/MinecoloniesDevs/gists{/gist_id}","starred_url":"https://api.github.com/users/MinecoloniesDevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinecoloniesDevs/subscriptions","organizations_url":"https://api.github.com/users/MinecoloniesDevs/orgs","repos_url":"https://api.github.com/users/MinecoloniesDevs/repos","events_url":"https://api.github.com/users/MinecoloniesDevs/events{/privacy}","received_events_url":"https://api.github.com/users/MinecoloniesDevs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MinecoloniesDevs/Minecolonies","description":"","fork":false,"url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies","forks_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/forks","keys_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/teams","hooks_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/hooks","issue_events_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/events","assignees_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/tags","blobs_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/languages","stargazers_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/stargazers","contributors_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/contributors","subscribers_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/subscribers","subscription_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/subscription","commits_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/merges","archive_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/downloads","issues_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/deployments","created_at":"2016-05-12T13:04:58Z","updated_at":"2016-05-14T02:37:16Z","pushed_at":"2016-05-14T20:30:02Z","git_url":"git://github.com/MinecoloniesDevs/Minecolonies.git","ssh_url":"git@github.com:MinecoloniesDevs/Minecolonies.git","clone_url":"https://github.com/MinecoloniesDevs/Minecolonies.git","svn_url":"https://github.com/MinecoloniesDevs/Minecolonies","homepage":null,"size":4947,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/3"},"html":{"href":"https://github.com/MinecoloniesDevs/Minecolonies/pull/3"},"issue":{"href":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/issues/3"},"comments":{"href":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/MinecoloniesDevs/Minecolonies/statuses/36ec0e333f8e8f4508681dee77e37647917df8d3"}}}}