{"action":"created","issue":{"url":"https://api.github.com/repos/jaredlll08/CraftTweaker/issues/132","repository_url":"https://api.github.com/repos/jaredlll08/CraftTweaker","labels_url":"https://api.github.com/repos/jaredlll08/CraftTweaker/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/jaredlll08/CraftTweaker/issues/132/comments","events_url":"https://api.github.com/repos/jaredlll08/CraftTweaker/issues/132/events","html_url":"https://github.com/jaredlll08/CraftTweaker/issues/132","id":199331194,"number":132,"title":"Recipes that consume XP are using more XP than expected","user":{"login":"belathus","id":3826783,"avatar_url":"https://avatars.githubusercontent.com/u/3826783?v=3","gravatar_id":"","url":"https://api.github.com/users/belathus","html_url":"https://github.com/belathus","followers_url":"https://api.github.com/users/belathus/followers","following_url":"https://api.github.com/users/belathus/following{/other_user}","gists_url":"https://api.github.com/users/belathus/gists{/gist_id}","starred_url":"https://api.github.com/users/belathus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belathus/subscriptions","organizations_url":"https://api.github.com/users/belathus/orgs","repos_url":"https://api.github.com/users/belathus/repos","events_url":"https://api.github.com/users/belathus/events{/privacy}","received_events_url":"https://api.github.com/users/belathus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-07T01:39:42Z","updated_at":"2017-02-07T16:21:46Z","closed_at":null,"body":"#### Issue Description:\r\nI made a recipe to convert Rockhounding's goethite and limonite ores to vanilla iron ore, but it is to take 10 levels of experience to do so. In my test, I gave myself 39 levels and crafted goethite into iron ore, and my level dropped to 19. I tried it again, and my level dropped to zero.\r\n\r\nI commented out the recipe using limonite (lines 20 to 30) and tried again, and the recipe used 10 levels as expected. I'm thinking that, when crafting the iron ore, it is running both the player.removeXP(10) commands from both the limonite and the goethite recipes.\r\n\r\n\r\n#### What happens:\r\nRecipe uses double (20 levels of) experience.\r\n\r\n\r\n#### What you expected to happen:\r\nRecipe uses 10 levels of experience.\r\n\r\n\r\n#### Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):\r\nhttps://github.com/belathus/Wanderlust-Renewed/blob/master/scripts/blocks.zs#L9-L30\r\n\r\n\r\n#### Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):\r\nhttps://gist.github.com/belathus/78d7947e9a374ff17d7c823cc76622b4\r\n\r\n____\r\n#### Affected Versions (Do *not* use \"latest\"):\r\n\r\n- Minecraft: 1.10.2\r\n- Forge: 12.18.3.2185\r\n- Crafttweaker: 3.0.17\r\n\r\n#### Your most recent log file where the issue was present: \r\nhttps://gist.github.com/belathus/18502e32a132bc524ad40e8c51a3345c\r\n"},"comment":{"url":"https://api.github.com/repos/jaredlll08/CraftTweaker/issues/comments/278051264","html_url":"https://github.com/jaredlll08/CraftTweaker/issues/132#issuecomment-278051264","issue_url":"https://api.github.com/repos/jaredlll08/CraftTweaker/issues/132","id":278051264,"user":{"login":"NosajDraw","id":2726292,"avatar_url":"https://avatars.githubusercontent.com/u/2726292?v=3","gravatar_id":"","url":"https://api.github.com/users/NosajDraw","html_url":"https://github.com/NosajDraw","followers_url":"https://api.github.com/users/NosajDraw/followers","following_url":"https://api.github.com/users/NosajDraw/following{/other_user}","gists_url":"https://api.github.com/users/NosajDraw/gists{/gist_id}","starred_url":"https://api.github.com/users/NosajDraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NosajDraw/subscriptions","organizations_url":"https://api.github.com/users/NosajDraw/orgs","repos_url":"https://api.github.com/users/NosajDraw/repos","events_url":"https://api.github.com/users/NosajDraw/events{/privacy}","received_events_url":"https://api.github.com/users/NosajDraw/received_events","type":"User","site_admin":false},"created_at":"2017-02-07T16:21:46Z","updated_at":"2017-02-07T16:21:46Z","body":"Have quit and reloaded MC several times whilst working on this."}}
{"actor":{"display_login":"NosajDraw"}}