GitHub PullRequestReviewCommentEvent at 2014-04-19 18:47:19
Repository: MCServer
Actor: jfhumann
Payload: {"comment":{"url":"https://api.github.com/repos/mc-server/MCServer/pulls/comments/11795095","id":11795095,"diff_hunk":"@@ -128,7 +128,8 @@ void cDispenserEntity::DropSpenseFromSlot(cChunk & a_Chunk, int a_SlotNum)\n \t\t\tif (DispChunk->GetBlock(DispX, DispY, DispZ) == E_BLOCK_AIR)\n \t\t\t{\n \t\t\t\tDispChunk->SetBlock(DispX, DispY, DispZ, E_BLOCK_FIRE, 0);\n-\t\t\t\tm_Contents.SetSlot(a_SlotNum, m_Contents.GetSlot(a_SlotNum).m_ItemType, m_Contents.GetSlot(a_SlotNum).m_ItemCount, m_Contents.GetSlot(a_SlotNum).m_ItemDamage + 1);\n+\t\t\t\tconst cItem& slot = m_Contents.GetSlot(a_SlotNum);\n+\t\t\t\tm_Contents.SetSlot(a_SlotNum, slot.m_ItemType, slot.m_ItemCount, slot.m_ItemDamage + 1);","path":"src/BlockEntities/DispenserEntity.cpp","position":6,"original_position":6,"commit_id":"4dd7610381c5a9cbd29b771e6c98b5d500774ac6","original_commit_id":"5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17","user":{"login":"jfhumann","id":3443839,"avatar_url":"https://avatars.githubusercontent.com/u/3443839?","gravatar_id":"139bb4291a4b056a29fb89f0ee582caf","url":"https://api.github.com/users/jfhumann","html_url":"https://github.com/jfhumann","followers_url":"https://api.github.com/users/jfhumann/followers","following_url":"https://api.github.com/users/jfhumann/following{/other_user}","gists_url":"https://api.github.com/users/jfhumann/gists{/gist_id}","starred_url":"https://api.github.com/users/jfhumann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfhumann/subscriptions","organizations_url":"https://api.github.com/users/jfhumann/orgs","repos_url":"https://api.github.com/users/jfhumann/repos","events_url":"https://api.github.com/users/jfhumann/events{/privacy}","received_events_url":"https://api.github.com/users/jfhumann/received_events","type":"User","site_admin":false},"body":"DamageItem does just that.","created_at":"2014-04-19T18:47:19Z","updated_at":"2014-04-19T18:47:19Z","html_url":"https://github.com/mc-server/MCServer/pull/909#discussion_r11795095","pull_request_url":"https://api.github.com/repos/mc-server/MCServer/pulls/909","_links":{"self":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/comments/11795095"},"html":{"href":"https://github.com/mc-server/MCServer/pull/909#discussion_r11795095"},"pull_request":{"href":"https://api.github.com/repos/mc-server/MCServer/pulls/909"}}}}