{"action":"closed","issue":{"url":"https://api.github.com/repos/Nividica/ThaumicEnergistics/issues/249","labels_url":"https://api.github.com/repos/Nividica/ThaumicEnergistics/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/Nividica/ThaumicEnergistics/issues/249/comments","events_url":"https://api.github.com/repos/Nividica/ThaumicEnergistics/issues/249/events","html_url":"https://github.com/Nividica/ThaumicEnergistics/issues/249","id":119107809,"number":249,"title":"injectEssentiaIntoContainer voiding essentia","user":{"login":"Mordenkainen","id":826358,"avatar_url":"https://avatars.githubusercontent.com/u/826358?v=3","gravatar_id":"","url":"https://api.github.com/users/Mordenkainen","html_url":"https://github.com/Mordenkainen","followers_url":"https://api.github.com/users/Mordenkainen/followers","following_url":"https://api.github.com/users/Mordenkainen/following{/other_user}","gists_url":"https://api.github.com/users/Mordenkainen/gists{/gist_id}","starred_url":"https://api.github.com/users/Mordenkainen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mordenkainen/subscriptions","organizations_url":"https://api.github.com/users/Mordenkainen/orgs","repos_url":"https://api.github.com/users/Mordenkainen/repos","events_url":"https://api.github.com/users/Mordenkainen/events{/privacy}","received_events_url":"https://api.github.com/users/Mordenkainen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Nividica/ThaumicEnergistics/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"Nividica","id":1585989,"avatar_url":"https://avatars.githubusercontent.com/u/1585989?v=3","gravatar_id":"","url":"https://api.github.com/users/Nividica","html_url":"https://github.com/Nividica","followers_url":"https://api.github.com/users/Nividica/followers","following_url":"https://api.github.com/users/Nividica/following{/other_user}","gists_url":"https://api.github.com/users/Nividica/gists{/gist_id}","starred_url":"https://api.github.com/users/Nividica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nividica/subscriptions","organizations_url":"https://api.github.com/users/Nividica/orgs","repos_url":"https://api.github.com/users/Nividica/repos","events_url":"https://api.github.com/users/Nividica/events{/privacy}","received_events_url":"https://api.github.com/users/Nividica/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Nividica/ThaumicEnergistics/milestones/4","html_url":"https://github.com/Nividica/ThaumicEnergistics/milestones/AE2-Rv3","labels_url":"https://api.github.com/repos/Nividica/ThaumicEnergistics/milestones/4/labels","id":1354427,"number":4,"title":"AE2-Rv3","description":"Supports Rv3","creator":{"login":"Nividica","id":1585989,"avatar_url":"https://avatars.githubusercontent.com/u/1585989?v=3","gravatar_id":"","url":"https://api.github.com/users/Nividica","html_url":"https://github.com/Nividica","followers_url":"https://api.github.com/users/Nividica/followers","following_url":"https://api.github.com/users/Nividica/following{/other_user}","gists_url":"https://api.github.com/users/Nividica/gists{/gist_id}","starred_url":"https://api.github.com/users/Nividica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nividica/subscriptions","organizations_url":"https://api.github.com/users/Nividica/orgs","repos_url":"https://api.github.com/users/Nividica/repos","events_url":"https://api.github.com/users/Nividica/events{/privacy}","received_events_url":"https://api.github.com/users/Nividica/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":10,"state":"open","created_at":"2015-10-14T00:58:56Z","updated_at":"2015-12-25T02:39:22Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-11-26T22:47:16Z","updated_at":"2015-12-25T02:39:22Z","closed_at":"2015-12-25T02:39:22Z","body":"If a mod uses the API to register inject permissions for a block, injectEssentiaIntoContainer will void essentia once the block is full.\r\n\r\nThis is due to getContainerStoredAmount assuming a stored amount of 0 for non-vanilla Thaumcraft blocks, and injectEssentiaIntoContainer  not checking for a non-zero return from addToContainer.\r\n\r\nA workaround is for the block to return false to doesContainerAccept when full, but that is not possible for all blocks, and will still result in voiding excess essentia if the export bus sends more than the block can hold.\r\n"}}