{"action":"closed","issue":{"url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/51","labels_url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/51/comments","events_url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/51/events","html_url":"https://github.com/jpcsupplies/Economy_mod/issues/51","id":109649285,"number":51,"title":"BUG: Sell command multiplies qty by qty ?","user":{"login":"jpcsupplies","id":13939039,"avatar_url":"https://avatars.githubusercontent.com/u/13939039?v=3","gravatar_id":"","url":"https://api.github.com/users/jpcsupplies","html_url":"https://github.com/jpcsupplies","followers_url":"https://api.github.com/users/jpcsupplies/followers","following_url":"https://api.github.com/users/jpcsupplies/following{/other_user}","gists_url":"https://api.github.com/users/jpcsupplies/gists{/gist_id}","starred_url":"https://api.github.com/users/jpcsupplies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpcsupplies/subscriptions","organizations_url":"https://api.github.com/users/jpcsupplies/orgs","repos_url":"https://api.github.com/users/jpcsupplies/repos","events_url":"https://api.github.com/users/jpcsupplies/events{/privacy}","received_events_url":"https://api.github.com/users/jpcsupplies/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-03T22:31:49Z","updated_at":"2015-10-03T23:43:47Z","closed_at":"2015-10-03T23:43:47Z","body":"just doing some test sells -  notice something odd just tracking it down\r\nif i sell 10 iron ingot at a unit price of 1 (ie /value iron ingot = unit of 1)\r\nie /sell 10 iron ingot\r\nit sells 10 for a unit price of 10 giving me 100 ?\r\n\r\nPartially cause appears to be related somehow to having old data in the data and config XML files..\r\n\r\nnpc market seems to be getting stored in data file and config file at once..\r\n\r\nif we are pulling prices from config and applying qty to data that should be fine.. just deleting my test data and testing that scenario now\r\n\r\nok when deleted i get this result:\r\n/sell 10000 gravel = 17 million ?  should be 1700 ?"}}