{"action":"created","comment":{"url":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/comments/23132055","id":23132055,"diff_hunk":"@@ -324,12 +390,25 @@ public void readFromNBT(NBTTagCompound data) {\n             profile = LockingProfileType.fromOrdinal(data.getByte(\"profile\"));\n         profileInstance = profile.create(this);\n         profileInstance.readFromNBT(data);\n-        powered = data.getBoolean(\"powered\");\n-        delay = data.getInteger(\"delay\");\n-        reset = data.getByte(\"reset\");\n-\n-        if (data.hasKey(\"uuidHigh\"))\n-            uuid = new UUID(data.getLong(\"uuidHigh\"), data.getLong(\"uuidLow\"));\n+        redstone = data.getBoolean(\"powered\");\n+        \n+        if(data.hasKey(\"locked\"))\n+        \tlocked = data.getBoolean(\"locked\");\n+                \n+        if(data.hasKey(\"trainLeaving\"))\n+        \ttrainLeaving = data.getBoolean(\"trainLeaving\");\n+                \n+        if(data.hasKey(\"trainDelay\"))\n+        \ttrainDelay = data.getInteger(\"trainDelay\");        \n+\n+        prevCartUUID = readUUID(\"prevCart\", data);  \n+        currentCartUUID = readUUID(\"currentCart\", data);\n+        \n+        uuid = readUUID(\"uuid\", data);\n+        \n+        justLoaded = true; // This signals updateEntity() to dereference the cart UUID's we read in here\n+        \n+        System.out.println(\"Read from NBT\");","path":"src/main/java/mods/railcraft/common/blocks/tracks/TrackNextGenLocking.java","position":433,"original_position":433,"commit_id":"5c8ff147d6751097a1cad6c1c04b3210c55ee76d","original_commit_id":"5c8ff147d6751097a1cad6c1c04b3210c55ee76d","user":{"login":"CovertJaguar","id":1521970,"avatar_url":"https://avatars.githubusercontent.com/u/1521970?v=3","gravatar_id":"","url":"https://api.github.com/users/CovertJaguar","html_url":"https://github.com/CovertJaguar","followers_url":"https://api.github.com/users/CovertJaguar/followers","following_url":"https://api.github.com/users/CovertJaguar/following{/other_user}","gists_url":"https://api.github.com/users/CovertJaguar/gists{/gist_id}","starred_url":"https://api.github.com/users/CovertJaguar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CovertJaguar/subscriptions","organizations_url":"https://api.github.com/users/CovertJaguar/orgs","repos_url":"https://api.github.com/users/CovertJaguar/repos","events_url":"https://api.github.com/users/CovertJaguar/events{/privacy}","received_events_url":"https://api.github.com/users/CovertJaguar/received_events","type":"User","site_admin":false},"body":"*cough* You might want to remove this ;)\r\n\r\nFYI, you don't need to create a new PR, just make a commit to your branch.","created_at":"2015-01-18T09:36:09Z","updated_at":"2015-01-18T09:36:09Z","html_url":"https://github.com/CovertJaguar/Railcraft/pull/469#discussion_r23132055","pull_request_url":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/469","_links":{"self":{"href":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/comments/23132055"},"html":{"href":"https://github.com/CovertJaguar/Railcraft/pull/469#discussion_r23132055"},"pull_request":{"href":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/469"}}},"pull_request":{"url":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/469","id":27568952,"html_url":"https://github.com/CovertJaguar/Railcraft/pull/469","diff_url":"https://github.com/CovertJaguar/Railcraft/pull/469.diff","patch_url":"https://github.com/CovertJaguar/Railcraft/pull/469.patch","issue_url":"https://api.github.com/repos/CovertJaguar/Railcraft/issues/469","number":469,"state":"open","locked":false,"title":"Reworked logic in TrackNextGenLocking.java","user":{"login":"ssotangkur","id":10198750,"avatar_url":"https://avatars.githubusercontent.com/u/10198750?v=3","gravatar_id":"","url":"https://api.github.com/users/ssotangkur","html_url":"https://github.com/ssotangkur","followers_url":"https://api.github.com/users/ssotangkur/followers","following_url":"https://api.github.com/users/ssotangkur/following{/other_user}","gists_url":"https://api.github.com/users/ssotangkur/gists{/gist_id}","starred_url":"https://api.github.com/users/ssotangkur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssotangkur/subscriptions","organizations_url":"https://api.github.com/users/ssotangkur/orgs","repos_url":"https://api.github.com/users/ssotangkur/repos","events_url":"https://api.github.com/users/ssotangkur/events{/privacy}","received_events_url":"https://api.github.com/users/ssotangkur/received_events","type":"User","site_admin":false},"body":"Added capability to unpower a train locking track when there is no redstone signal and no train overhead.\r\nFixed issue on load from NBT where trains in the process of leaving a train locking track would get stuck.\r\nSimplified the logic a little by eliminating as many countdown delays/timers as possible.","created_at":"2015-01-18T09:22:51Z","updated_at":"2015-01-18T09:36:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d2b34d7e81695468bd87e1f086f80e12877fa77","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/469/commits","review_comments_url":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/469/comments","review_comment_url":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CovertJaguar/Railcraft/issues/469/comments","statuses_url":"https://api.github.com/repos/CovertJaguar/Railcraft/statuses/5c8ff147d6751097a1cad6c1c04b3210c55ee76d","head":{"label":"ssotangkur:master","ref":"master","sha":"5c8ff147d6751097a1cad6c1c04b3210c55ee76d","user":{"login":"ssotangkur","id":10198750,"avatar_url":"https://avatars.githubusercontent.com/u/10198750?v=3","gravatar_id":"","url":"https://api.github.com/users/ssotangkur","html_url":"https://github.com/ssotangkur","followers_url":"https://api.github.com/users/ssotangkur/followers","following_url":"https://api.github.com/users/ssotangkur/following{/other_user}","gists_url":"https://api.github.com/users/ssotangkur/gists{/gist_id}","starred_url":"https://api.github.com/users/ssotangkur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssotangkur/subscriptions","organizations_url":"https://api.github.com/users/ssotangkur/orgs","repos_url":"https://api.github.com/users/ssotangkur/repos","events_url":"https://api.github.com/users/ssotangkur/events{/privacy}","received_events_url":"https://api.github.com/users/ssotangkur/received_events","type":"User","site_admin":false},"repo":{"id":29088467,"name":"Railcraft","full_name":"ssotangkur/Railcraft","owner":{"login":"ssotangkur","id":10198750,"avatar_url":"https://avatars.githubusercontent.com/u/10198750?v=3","gravatar_id":"","url":"https://api.github.com/users/ssotangkur","html_url":"https://github.com/ssotangkur","followers_url":"https://api.github.com/users/ssotangkur/followers","following_url":"https://api.github.com/users/ssotangkur/following{/other_user}","gists_url":"https://api.github.com/users/ssotangkur/gists{/gist_id}","starred_url":"https://api.github.com/users/ssotangkur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssotangkur/subscriptions","organizations_url":"https://api.github.com/users/ssotangkur/orgs","repos_url":"https://api.github.com/users/ssotangkur/repos","events_url":"https://api.github.com/users/ssotangkur/events{/privacy}","received_events_url":"https://api.github.com/users/ssotangkur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssotangkur/Railcraft","description":"The Railcraft Mod for Minecraft, source and development.","fork":true,"url":"https://api.github.com/repos/ssotangkur/Railcraft","forks_url":"https://api.github.com/repos/ssotangkur/Railcraft/forks","keys_url":"https://api.github.com/repos/ssotangkur/Railcraft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssotangkur/Railcraft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssotangkur/Railcraft/teams","hooks_url":"https://api.github.com/repos/ssotangkur/Railcraft/hooks","issue_events_url":"https://api.github.com/repos/ssotangkur/Railcraft/issues/events{/number}","events_url":"https://api.github.com/repos/ssotangkur/Railcraft/events","assignees_url":"https://api.github.com/repos/ssotangkur/Railcraft/assignees{/user}","branches_url":"https://api.github.com/repos/ssotangkur/Railcraft/branches{/branch}","tags_url":"https://api.github.com/repos/ssotangkur/Railcraft/tags","blobs_url":"https://api.github.com/repos/ssotangkur/Railcraft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssotangkur/Railcraft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssotangkur/Railcraft/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssotangkur/Railcraft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssotangkur/Railcraft/statuses/{sha}","languages_url":"https://api.github.com/repos/ssotangkur/Railcraft/languages","stargazers_url":"https://api.github.com/repos/ssotangkur/Railcraft/stargazers","contributors_url":"https://api.github.com/repos/ssotangkur/Railcraft/contributors","subscribers_url":"https://api.github.com/repos/ssotangkur/Railcraft/subscribers","subscription_url":"https://api.github.com/repos/ssotangkur/Railcraft/subscription","commits_url":"https://api.github.com/repos/ssotangkur/Railcraft/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssotangkur/Railcraft/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssotangkur/Railcraft/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssotangkur/Railcraft/issues/comments/{number}","contents_url":"https://api.github.com/repos/ssotangkur/Railcraft/contents/{+path}","compare_url":"https://api.github.com/repos/ssotangkur/Railcraft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssotangkur/Railcraft/merges","archive_url":"https://api.github.com/repos/ssotangkur/Railcraft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssotangkur/Railcraft/downloads","issues_url":"https://api.github.com/repos/ssotangkur/Railcraft/issues{/number}","pulls_url":"https://api.github.com/repos/ssotangkur/Railcraft/pulls{/number}","milestones_url":"https://api.github.com/repos/ssotangkur/Railcraft/milestones{/number}","notifications_url":"https://api.github.com/repos/ssotangkur/Railcraft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssotangkur/Railcraft/labels{/name}","releases_url":"https://api.github.com/repos/ssotangkur/Railcraft/releases{/id}","created_at":"2015-01-11T10:43:32Z","updated_at":"2015-01-18T09:16:41Z","pushed_at":"2015-01-18T09:16:41Z","git_url":"git://github.com/ssotangkur/Railcraft.git","ssh_url":"git@github.com:ssotangkur/Railcraft.git","clone_url":"https://github.com/ssotangkur/Railcraft.git","svn_url":"https://github.com/ssotangkur/Railcraft","homepage":"http://www.railcraft.info/","size":1960,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CovertJaguar:master","ref":"master","sha":"4cf0bb775f2b4a3a5993e6414706fec1572f6253","user":{"login":"CovertJaguar","id":1521970,"avatar_url":"https://avatars.githubusercontent.com/u/1521970?v=3","gravatar_id":"","url":"https://api.github.com/users/CovertJaguar","html_url":"https://github.com/CovertJaguar","followers_url":"https://api.github.com/users/CovertJaguar/followers","following_url":"https://api.github.com/users/CovertJaguar/following{/other_user}","gists_url":"https://api.github.com/users/CovertJaguar/gists{/gist_id}","starred_url":"https://api.github.com/users/CovertJaguar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CovertJaguar/subscriptions","organizations_url":"https://api.github.com/users/CovertJaguar/orgs","repos_url":"https://api.github.com/users/CovertJaguar/repos","events_url":"https://api.github.com/users/CovertJaguar/events{/privacy}","received_events_url":"https://api.github.com/users/CovertJaguar/received_events","type":"User","site_admin":false},"repo":{"id":7177096,"name":"Railcraft","full_name":"CovertJaguar/Railcraft","owner":{"login":"CovertJaguar","id":1521970,"avatar_url":"https://avatars.githubusercontent.com/u/1521970?v=3","gravatar_id":"","url":"https://api.github.com/users/CovertJaguar","html_url":"https://github.com/CovertJaguar","followers_url":"https://api.github.com/users/CovertJaguar/followers","following_url":"https://api.github.com/users/CovertJaguar/following{/other_user}","gists_url":"https://api.github.com/users/CovertJaguar/gists{/gist_id}","starred_url":"https://api.github.com/users/CovertJaguar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CovertJaguar/subscriptions","organizations_url":"https://api.github.com/users/CovertJaguar/orgs","repos_url":"https://api.github.com/users/CovertJaguar/repos","events_url":"https://api.github.com/users/CovertJaguar/events{/privacy}","received_events_url":"https://api.github.com/users/CovertJaguar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CovertJaguar/Railcraft","description":"The Railcraft Mod for Minecraft, source and development.","fork":false,"url":"https://api.github.com/repos/CovertJaguar/Railcraft","forks_url":"https://api.github.com/repos/CovertJaguar/Railcraft/forks","keys_url":"https://api.github.com/repos/CovertJaguar/Railcraft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CovertJaguar/Railcraft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CovertJaguar/Railcraft/teams","hooks_url":"https://api.github.com/repos/CovertJaguar/Railcraft/hooks","issue_events_url":"https://api.github.com/repos/CovertJaguar/Railcraft/issues/events{/number}","events_url":"https://api.github.com/repos/CovertJaguar/Railcraft/events","assignees_url":"https://api.github.com/repos/CovertJaguar/Railcraft/assignees{/user}","branches_url":"https://api.github.com/repos/CovertJaguar/Railcraft/branches{/branch}","tags_url":"https://api.github.com/repos/CovertJaguar/Railcraft/tags","blobs_url":"https://api.github.com/repos/CovertJaguar/Railcraft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CovertJaguar/Railcraft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CovertJaguar/Railcraft/git/refs{/sha}","trees_url":"https://api.github.com/repos/CovertJaguar/Railcraft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CovertJaguar/Railcraft/statuses/{sha}","languages_url":"https://api.github.com/repos/CovertJaguar/Railcraft/languages","stargazers_url":"https://api.github.com/repos/CovertJaguar/Railcraft/stargazers","contributors_url":"https://api.github.com/repos/CovertJaguar/Railcraft/contributors","subscribers_url":"https://api.github.com/repos/CovertJaguar/Railcraft/subscribers","subscription_url":"https://api.github.com/repos/CovertJaguar/Railcraft/subscription","commits_url":"https://api.github.com/repos/CovertJaguar/Railcraft/commits{/sha}","git_commits_url":"https://api.github.com/repos/CovertJaguar/Railcraft/git/commits{/sha}","comments_url":"https://api.github.com/repos/CovertJaguar/Railcraft/comments{/number}","issue_comment_url":"https://api.github.com/repos/CovertJaguar/Railcraft/issues/comments/{number}","contents_url":"https://api.github.com/repos/CovertJaguar/Railcraft/contents/{+path}","compare_url":"https://api.github.com/repos/CovertJaguar/Railcraft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CovertJaguar/Railcraft/merges","archive_url":"https://api.github.com/repos/CovertJaguar/Railcraft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CovertJaguar/Railcraft/downloads","issues_url":"https://api.github.com/repos/CovertJaguar/Railcraft/issues{/number}","pulls_url":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls{/number}","milestones_url":"https://api.github.com/repos/CovertJaguar/Railcraft/milestones{/number}","notifications_url":"https://api.github.com/repos/CovertJaguar/Railcraft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CovertJaguar/Railcraft/labels{/name}","releases_url":"https://api.github.com/repos/CovertJaguar/Railcraft/releases{/id}","created_at":"2012-12-15T07:42:00Z","updated_at":"2015-01-17T04:35:54Z","pushed_at":"2015-01-17T04:35:54Z","git_url":"git://github.com/CovertJaguar/Railcraft.git","ssh_url":"git@github.com:CovertJaguar/Railcraft.git","clone_url":"https://github.com/CovertJaguar/Railcraft.git","svn_url":"https://github.com/CovertJaguar/Railcraft","homepage":"http://www.railcraft.info/","size":2844,"stargazers_count":110,"watchers_count":110,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":62,"forks":35,"open_issues":62,"watchers":110,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/469"},"html":{"href":"https://github.com/CovertJaguar/Railcraft/pull/469"},"issue":{"href":"https://api.github.com/repos/CovertJaguar/Railcraft/issues/469"},"comments":{"href":"https://api.github.com/repos/CovertJaguar/Railcraft/issues/469/comments"},"review_comments":{"href":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/469/comments"},"review_comment":{"href":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CovertJaguar/Railcraft/pulls/469/commits"},"statuses":{"href":"https://api.github.com/repos/CovertJaguar/Railcraft/statuses/5c8ff147d6751097a1cad6c1c04b3210c55ee76d"}}}}