{"action":"created","issue":{"url":"https://api.github.com/repos/cs340tabyu/cs340fall2016/issues/301","repository_url":"https://api.github.com/repos/cs340tabyu/cs340fall2016","labels_url":"https://api.github.com/repos/cs340tabyu/cs340fall2016/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/cs340tabyu/cs340fall2016/issues/301/comments","events_url":"https://api.github.com/repos/cs340tabyu/cs340fall2016/issues/301/events","html_url":"https://github.com/cs340tabyu/cs340fall2016/issues/301","id":185553247,"number":301,"title":"Resources do not decrement after building a road","user":{"login":"mclements37","id":21322207,"avatar_url":"https://avatars.githubusercontent.com/u/21322207?v=3","gravatar_id":"","url":"https://api.github.com/users/mclements37","html_url":"https://github.com/mclements37","followers_url":"https://api.github.com/users/mclements37/followers","following_url":"https://api.github.com/users/mclements37/following{/other_user}","gists_url":"https://api.github.com/users/mclements37/gists{/gist_id}","starred_url":"https://api.github.com/users/mclements37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mclements37/subscriptions","organizations_url":"https://api.github.com/users/mclements37/orgs","repos_url":"https://api.github.com/users/mclements37/repos","events_url":"https://api.github.com/users/mclements37/events{/privacy}","received_events_url":"https://api.github.com/users/mclements37/received_events","type":"User","site_admin":false},"labels":[{"id":468083881,"url":"https://api.github.com/repos/cs340tabyu/cs340fall2016/labels/P3:%20Incorrect%20behavior%20that%20affects%20gameplay","name":"P3: Incorrect behavior that affects gameplay","color":"fbca04","default":false},{"id":468085125,"url":"https://api.github.com/repos/cs340tabyu/cs340fall2016/labels/Phase%202","name":"Phase 2","color":"c5def5","default":false},{"id":468086050,"url":"https://api.github.com/repos/cs340tabyu/cs340fall2016/labels/Team%2012","name":"Team 12","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"intcreator","id":19642312,"avatar_url":"https://avatars.githubusercontent.com/u/19642312?v=3","gravatar_id":"","url":"https://api.github.com/users/intcreator","html_url":"https://github.com/intcreator","followers_url":"https://api.github.com/users/intcreator/followers","following_url":"https://api.github.com/users/intcreator/following{/other_user}","gists_url":"https://api.github.com/users/intcreator/gists{/gist_id}","starred_url":"https://api.github.com/users/intcreator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intcreator/subscriptions","organizations_url":"https://api.github.com/users/intcreator/orgs","repos_url":"https://api.github.com/users/intcreator/repos","events_url":"https://api.github.com/users/intcreator/events{/privacy}","received_events_url":"https://api.github.com/users/intcreator/received_events","type":"User","site_admin":false},"assignees":[{"login":"intcreator","id":19642312,"avatar_url":"https://avatars.githubusercontent.com/u/19642312?v=3","gravatar_id":"","url":"https://api.github.com/users/intcreator","html_url":"https://github.com/intcreator","followers_url":"https://api.github.com/users/intcreator/followers","following_url":"https://api.github.com/users/intcreator/following{/other_user}","gists_url":"https://api.github.com/users/intcreator/gists{/gist_id}","starred_url":"https://api.github.com/users/intcreator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intcreator/subscriptions","organizations_url":"https://api.github.com/users/intcreator/orgs","repos_url":"https://api.github.com/users/intcreator/repos","events_url":"https://api.github.com/users/intcreator/events{/privacy}","received_events_url":"https://api.github.com/users/intcreator/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-27T01:43:34Z","updated_at":"2016-10-30T06:40:00Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/cs340tabyu/cs340fall2016/issues/comments/257135063","html_url":"https://github.com/cs340tabyu/cs340fall2016/issues/301#issuecomment-257135063","issue_url":"https://api.github.com/repos/cs340tabyu/cs340fall2016/issues/301","id":257135063,"user":{"login":"xaves","id":5455419,"avatar_url":"https://avatars.githubusercontent.com/u/5455419?v=3","gravatar_id":"","url":"https://api.github.com/users/xaves","html_url":"https://github.com/xaves","followers_url":"https://api.github.com/users/xaves/followers","following_url":"https://api.github.com/users/xaves/following{/other_user}","gists_url":"https://api.github.com/users/xaves/gists{/gist_id}","starred_url":"https://api.github.com/users/xaves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaves/subscriptions","organizations_url":"https://api.github.com/users/xaves/orgs","repos_url":"https://api.github.com/users/xaves/repos","events_url":"https://api.github.com/users/xaves/events{/privacy}","received_events_url":"https://api.github.com/users/xaves/received_events","type":"User","site_admin":false},"created_at":"2016-10-30T06:40:00Z","updated_at":"2016-10-30T06:40:00Z","body":"MapController.java: lines 196-202\r\n```java\r\npublic void placeRoad(EdgeLocation edgeLoc) {\r\n    Operations.MoveOperations.buildRoad(null, currentPlayerIndex, true, edgeLoc);\r\n}\r\n\r\npublic void placeSettlement(VertexLocation vertLoc) {\r\n    Operations.MoveOperations.buildSettlement(null, currentPlayerIndex, true, vertLoc);\r\n}\r\n```\r\n\r\nRight now we are just passing in true for all settlements. We need to pass in false after the initial round"}}
{"actor":{"display_login":"xaves"}}