{"action":"created","issue":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1689","repository_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine","labels_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1689/labels{/name}","comments_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1689/comments","events_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1689/events","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/issues/1689","id":195470669,"number":1689,"title":"Can't build stockpile anymore","user":{"login":"hcorion","id":9814000,"avatar_url":"https://avatars.githubusercontent.com/u/9814000?v=3","gravatar_id":"","url":"https://api.github.com/users/hcorion","html_url":"https://github.com/hcorion","followers_url":"https://api.github.com/users/hcorion/followers","following_url":"https://api.github.com/users/hcorion/following{/other_user}","gists_url":"https://api.github.com/users/hcorion/gists{/gist_id}","starred_url":"https://api.github.com/users/hcorion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcorion/subscriptions","organizations_url":"https://api.github.com/users/hcorion/orgs","repos_url":"https://api.github.com/users/hcorion/repos","events_url":"https://api.github.com/users/hcorion/events{/privacy}","received_events_url":"https://api.github.com/users/hcorion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-14T08:39:51Z","updated_at":"2016-12-14T09:00:46Z","closed_at":null,"body":"This is a regression and it happens in both developer mode and normal mode.\r\n\r\n\r\n### Expected behavior\r\n\r\nBuilds a stockpile\r\n\r\n### Actual behavior\r\n\r\nnothing happens visually after you let go of the mouse. However, it does throw a nice error: \r\n\r\n```\r\nNullReferenceException: Object reference not set to an instance of an object\r\nProjectPorcupine.OrderActions.Build.CreateJob (.Tile tile, System.String type) (at Assets/Scripts/Models/OrderActions/Build.cs:45)\r\nBuildModeController.DoBuild (.Tile tile) (at Assets/Scripts/Controllers/InputOutput/BuildModeController.cs:158)\r\nMouseController.BuildOnDraggedTiles (.DragParameters dragParams) (at Assets/Scripts/Controllers/InputOutput/MouseController.cs:433)\r\nMouseController.UpdateDragging () (at Assets/Scripts/Controllers/InputOutput/MouseController.cs:325)\r\nMouseController.Update () (at Assets/Scripts/Controllers/InputOutput/MouseController.cs:129)\r\nMouseController.<MouseController>m__0 (Single time) (at Assets/Scripts/Controllers/InputOutput/MouseController.cs:61)\r\nTimeManager.InvokeEvent (System.Action`1 eventAction, Single time) (at Assets/Scripts/Models/Events/TimeManager.cs:198)\r\nTimeManager.Update (Single time) (at Assets/Scripts/Models/Events/TimeManager.cs:125)\r\nGameController.Update () (at Assets/Scripts/Controllers/GameController.cs:77)\r\n```\r\n\r\n### Steps to reproduce the behavior\r\n\r\n- Step 1: Attempt to build a stockpile, it's actually quite simple.\r\n\r\n### Specs\r\nOutput of `git describe --tags`:  `v0.1-108-gaf271bb`\r\nUnity version: 5.5.0f3 running on Mac OS Sierra 10.12.1"},"comment":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/comments/266979625","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/issues/1689#issuecomment-266979625","issue_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1689","id":266979625,"user":{"login":"BraedonWooding","id":22880786,"avatar_url":"https://avatars.githubusercontent.com/u/22880786?v=3","gravatar_id":"","url":"https://api.github.com/users/BraedonWooding","html_url":"https://github.com/BraedonWooding","followers_url":"https://api.github.com/users/BraedonWooding/followers","following_url":"https://api.github.com/users/BraedonWooding/following{/other_user}","gists_url":"https://api.github.com/users/BraedonWooding/gists{/gist_id}","starred_url":"https://api.github.com/users/BraedonWooding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BraedonWooding/subscriptions","organizations_url":"https://api.github.com/users/BraedonWooding/orgs","repos_url":"https://api.github.com/users/BraedonWooding/repos","events_url":"https://api.github.com/users/BraedonWooding/events{/privacy}","received_events_url":"https://api.github.com/users/BraedonWooding/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T09:00:46Z","updated_at":"2016-12-14T09:00:46Z","body":"Hehe lol the double tag :P."}}
{"actor":{"display_login":"BraedonWooding"}}