{"action":"created","comment":{"url":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/comments/69181494","id":69181494,"diff_hunk":"@@ -0,0 +1,39 @@\n+package com.universeprojects.miniup.server.commands;\r\n+\r\n+import java.util.Map;\r\n+\r\n+import javax.servlet.http.HttpServletRequest;\r\n+import javax.servlet.http.HttpServletResponse;\r\n+\r\n+import com.universeprojects.cacheddatastore.CachedDatastoreService;\r\n+import com.universeprojects.cacheddatastore.CachedEntity;\r\n+import com.universeprojects.miniup.server.ODPDBAccess;\r\n+import com.universeprojects.miniup.server.commands.framework.Command;\r\n+import com.universeprojects.miniup.server.commands.framework.UserErrorMessage;\r\n+/** \r\n+ * \r\n+ * Sell an Item!\r\n+ * \r\n+ */\r\n+\r\n+public class CommandStoreDisable extends Command {\r\n+\t\r\n+\tpublic CommandStoreDisable(HttpServletRequest request, HttpServletResponse response)\r\n+\t{\r\n+\t\tsuper(request, response);\r\n+\t}\r\n+\t\r\n+\t@Override\r\n+public void run(Map<String,String> parameters) throws UserErrorMessage {\r\n+\t\t\r\n+\t\tODPDBAccess db = getDB();\r\n+\t\tCachedDatastoreService ds = getDS();\r\n+\t\tCachedEntity character = db.getCurrentCharacter(request);\r\n+\t\t\r\n+\t\tif (\"MERCHANT\".equals(character.getProperty(\"mode\")))\r\n+\t\t{\r\n+\t\t\tdb.setCharacterMode(ds, character, ODPDBAccess.CHARACTER_MODE_NORMAL);\r\n+\t\t\tdb.doCharacterTimeRefresh(ds, character);\r\n+\t\t}\r\n+\t}\r","path":"Initium-Odp/src/com/universeprojects/miniup/server/commands/CommandStoreDisable.java","position":38,"original_position":38,"commit_id":"2b9d058fbb6fcf48bd7d00771c8b7ffcfc87ff56","original_commit_id":"2b9d058fbb6fcf48bd7d00771c8b7ffcfc87ff56","user":{"login":"Emperorlou","id":315164,"avatar_url":"https://avatars.githubusercontent.com/u/315164?v=3","gravatar_id":"","url":"https://api.github.com/users/Emperorlou","html_url":"https://github.com/Emperorlou","followers_url":"https://api.github.com/users/Emperorlou/followers","following_url":"https://api.github.com/users/Emperorlou/following{/other_user}","gists_url":"https://api.github.com/users/Emperorlou/gists{/gist_id}","starred_url":"https://api.github.com/users/Emperorlou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emperorlou/subscriptions","organizations_url":"https://api.github.com/users/Emperorlou/orgs","repos_url":"https://api.github.com/users/Emperorlou/repos","events_url":"https://api.github.com/users/Emperorlou/events{/privacy}","received_events_url":"https://api.github.com/users/Emperorlou/received_events","type":"User","site_admin":false},"body":"Here you'll want to set the javascript result to \"RefreshPagePopup\"","created_at":"2016-06-30T18:06:41Z","updated_at":"2016-06-30T18:06:41Z","html_url":"https://github.com/Emperorlou/initium-odp/pull/43#discussion_r69181494","pull_request_url":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/comments/69181494"},"html":{"href":"https://github.com/Emperorlou/initium-odp/pull/43#discussion_r69181494"},"pull_request":{"href":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/43","id":75863893,"html_url":"https://github.com/Emperorlou/initium-odp/pull/43","diff_url":"https://github.com/Emperorlou/initium-odp/pull/43.diff","patch_url":"https://github.com/Emperorlou/initium-odp/pull/43.patch","issue_url":"https://api.github.com/repos/Emperorlou/initium-odp/issues/43","number":43,"state":"closed","locked":false,"title":"Final store functionality addition.","user":{"login":"Davos-Onomous","id":20169281,"avatar_url":"https://avatars.githubusercontent.com/u/20169281?v=3","gravatar_id":"","url":"https://api.github.com/users/Davos-Onomous","html_url":"https://github.com/Davos-Onomous","followers_url":"https://api.github.com/users/Davos-Onomous/followers","following_url":"https://api.github.com/users/Davos-Onomous/following{/other_user}","gists_url":"https://api.github.com/users/Davos-Onomous/gists{/gist_id}","starred_url":"https://api.github.com/users/Davos-Onomous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Davos-Onomous/subscriptions","organizations_url":"https://api.github.com/users/Davos-Onomous/orgs","repos_url":"https://api.github.com/users/Davos-Onomous/repos","events_url":"https://api.github.com/users/Davos-Onomous/events{/privacy}","received_events_url":"https://api.github.com/users/Davos-Onomous/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-30T18:03:06Z","updated_at":"2016-06-30T18:06:41Z","closed_at":"2016-06-30T18:04:25Z","merged_at":"2016-06-30T18:04:25Z","merge_commit_sha":"7852d7e250a9bf0b6c64c25e457ce26fd1321ba1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/43/commits","review_comments_url":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/43/comments","review_comment_url":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Emperorlou/initium-odp/issues/43/comments","statuses_url":"https://api.github.com/repos/Emperorlou/initium-odp/statuses/2b9d058fbb6fcf48bd7d00771c8b7ffcfc87ff56","head":{"label":"Davos-Onomous:master","ref":"master","sha":"2b9d058fbb6fcf48bd7d00771c8b7ffcfc87ff56","user":{"login":"Davos-Onomous","id":20169281,"avatar_url":"https://avatars.githubusercontent.com/u/20169281?v=3","gravatar_id":"","url":"https://api.github.com/users/Davos-Onomous","html_url":"https://github.com/Davos-Onomous","followers_url":"https://api.github.com/users/Davos-Onomous/followers","following_url":"https://api.github.com/users/Davos-Onomous/following{/other_user}","gists_url":"https://api.github.com/users/Davos-Onomous/gists{/gist_id}","starred_url":"https://api.github.com/users/Davos-Onomous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Davos-Onomous/subscriptions","organizations_url":"https://api.github.com/users/Davos-Onomous/orgs","repos_url":"https://api.github.com/users/Davos-Onomous/repos","events_url":"https://api.github.com/users/Davos-Onomous/events{/privacy}","received_events_url":"https://api.github.com/users/Davos-Onomous/received_events","type":"User","site_admin":false},"repo":{"id":62322837,"name":"initium-odp","full_name":"Davos-Onomous/initium-odp","owner":{"login":"Davos-Onomous","id":20169281,"avatar_url":"https://avatars.githubusercontent.com/u/20169281?v=3","gravatar_id":"","url":"https://api.github.com/users/Davos-Onomous","html_url":"https://github.com/Davos-Onomous","followers_url":"https://api.github.com/users/Davos-Onomous/followers","following_url":"https://api.github.com/users/Davos-Onomous/following{/other_user}","gists_url":"https://api.github.com/users/Davos-Onomous/gists{/gist_id}","starred_url":"https://api.github.com/users/Davos-Onomous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Davos-Onomous/subscriptions","organizations_url":"https://api.github.com/users/Davos-Onomous/orgs","repos_url":"https://api.github.com/users/Davos-Onomous/repos","events_url":"https://api.github.com/users/Davos-Onomous/events{/privacy}","received_events_url":"https://api.github.com/users/Davos-Onomous/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Davos-Onomous/initium-odp","description":"This project allows people to contribute to the parts of Initium that are open source.","fork":true,"url":"https://api.github.com/repos/Davos-Onomous/initium-odp","forks_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/forks","keys_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/teams","hooks_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/hooks","issue_events_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/issues/events{/number}","events_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/events","assignees_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/assignees{/user}","branches_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/branches{/branch}","tags_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/tags","blobs_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/statuses/{sha}","languages_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/languages","stargazers_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/stargazers","contributors_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/contributors","subscribers_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/subscribers","subscription_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/subscription","commits_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/contents/{+path}","compare_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/merges","archive_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/downloads","issues_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/issues{/number}","pulls_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/pulls{/number}","milestones_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/milestones{/number}","notifications_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/labels{/name}","releases_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/releases{/id}","deployments_url":"https://api.github.com/repos/Davos-Onomous/initium-odp/deployments","created_at":"2016-06-30T15:41:10Z","updated_at":"2016-06-30T15:41:11Z","pushed_at":"2016-06-30T18:02:14Z","git_url":"git://github.com/Davos-Onomous/initium-odp.git","ssh_url":"git@github.com:Davos-Onomous/initium-odp.git","clone_url":"https://github.com/Davos-Onomous/initium-odp.git","svn_url":"https://github.com/Davos-Onomous/initium-odp","homepage":null,"size":39320,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Emperorlou:master","ref":"master","sha":"238e902cd9e5f80556c137b4a68fdbf1486b4e27","user":{"login":"Emperorlou","id":315164,"avatar_url":"https://avatars.githubusercontent.com/u/315164?v=3","gravatar_id":"","url":"https://api.github.com/users/Emperorlou","html_url":"https://github.com/Emperorlou","followers_url":"https://api.github.com/users/Emperorlou/followers","following_url":"https://api.github.com/users/Emperorlou/following{/other_user}","gists_url":"https://api.github.com/users/Emperorlou/gists{/gist_id}","starred_url":"https://api.github.com/users/Emperorlou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emperorlou/subscriptions","organizations_url":"https://api.github.com/users/Emperorlou/orgs","repos_url":"https://api.github.com/users/Emperorlou/repos","events_url":"https://api.github.com/users/Emperorlou/events{/privacy}","received_events_url":"https://api.github.com/users/Emperorlou/received_events","type":"User","site_admin":false},"repo":{"id":54856890,"name":"initium-odp","full_name":"Emperorlou/initium-odp","owner":{"login":"Emperorlou","id":315164,"avatar_url":"https://avatars.githubusercontent.com/u/315164?v=3","gravatar_id":"","url":"https://api.github.com/users/Emperorlou","html_url":"https://github.com/Emperorlou","followers_url":"https://api.github.com/users/Emperorlou/followers","following_url":"https://api.github.com/users/Emperorlou/following{/other_user}","gists_url":"https://api.github.com/users/Emperorlou/gists{/gist_id}","starred_url":"https://api.github.com/users/Emperorlou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emperorlou/subscriptions","organizations_url":"https://api.github.com/users/Emperorlou/orgs","repos_url":"https://api.github.com/users/Emperorlou/repos","events_url":"https://api.github.com/users/Emperorlou/events{/privacy}","received_events_url":"https://api.github.com/users/Emperorlou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Emperorlou/initium-odp","description":"This project allows people to contribute to the parts of Initium that are open source.","fork":false,"url":"https://api.github.com/repos/Emperorlou/initium-odp","forks_url":"https://api.github.com/repos/Emperorlou/initium-odp/forks","keys_url":"https://api.github.com/repos/Emperorlou/initium-odp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Emperorlou/initium-odp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Emperorlou/initium-odp/teams","hooks_url":"https://api.github.com/repos/Emperorlou/initium-odp/hooks","issue_events_url":"https://api.github.com/repos/Emperorlou/initium-odp/issues/events{/number}","events_url":"https://api.github.com/repos/Emperorlou/initium-odp/events","assignees_url":"https://api.github.com/repos/Emperorlou/initium-odp/assignees{/user}","branches_url":"https://api.github.com/repos/Emperorlou/initium-odp/branches{/branch}","tags_url":"https://api.github.com/repos/Emperorlou/initium-odp/tags","blobs_url":"https://api.github.com/repos/Emperorlou/initium-odp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Emperorlou/initium-odp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Emperorlou/initium-odp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Emperorlou/initium-odp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Emperorlou/initium-odp/statuses/{sha}","languages_url":"https://api.github.com/repos/Emperorlou/initium-odp/languages","stargazers_url":"https://api.github.com/repos/Emperorlou/initium-odp/stargazers","contributors_url":"https://api.github.com/repos/Emperorlou/initium-odp/contributors","subscribers_url":"https://api.github.com/repos/Emperorlou/initium-odp/subscribers","subscription_url":"https://api.github.com/repos/Emperorlou/initium-odp/subscription","commits_url":"https://api.github.com/repos/Emperorlou/initium-odp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Emperorlou/initium-odp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Emperorlou/initium-odp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Emperorlou/initium-odp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Emperorlou/initium-odp/contents/{+path}","compare_url":"https://api.github.com/repos/Emperorlou/initium-odp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Emperorlou/initium-odp/merges","archive_url":"https://api.github.com/repos/Emperorlou/initium-odp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Emperorlou/initium-odp/downloads","issues_url":"https://api.github.com/repos/Emperorlou/initium-odp/issues{/number}","pulls_url":"https://api.github.com/repos/Emperorlou/initium-odp/pulls{/number}","milestones_url":"https://api.github.com/repos/Emperorlou/initium-odp/milestones{/number}","notifications_url":"https://api.github.com/repos/Emperorlou/initium-odp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Emperorlou/initium-odp/labels{/name}","releases_url":"https://api.github.com/repos/Emperorlou/initium-odp/releases{/id}","deployments_url":"https://api.github.com/repos/Emperorlou/initium-odp/deployments","created_at":"2016-03-28T01:31:30Z","updated_at":"2016-06-17T02:39:33Z","pushed_at":"2016-06-30T18:04:25Z","git_url":"git://github.com/Emperorlou/initium-odp.git","ssh_url":"git@github.com:Emperorlou/initium-odp.git","clone_url":"https://github.com/Emperorlou/initium-odp.git","svn_url":"https://github.com/Emperorlou/initium-odp","homepage":null,"size":39315,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":0,"forks":6,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/43"},"html":{"href":"https://github.com/Emperorlou/initium-odp/pull/43"},"issue":{"href":"https://api.github.com/repos/Emperorlou/initium-odp/issues/43"},"comments":{"href":"https://api.github.com/repos/Emperorlou/initium-odp/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Emperorlou/initium-odp/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/Emperorlou/initium-odp/statuses/2b9d058fbb6fcf48bd7d00771c8b7ffcfc87ff56"}}}}
{"actor":{"display_login":"Emperorlou"}}