{"action":"created","issue":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/334","labels_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/334/labels{/name}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/334/comments","events_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/334/events","html_url":"https://github.com/SpongePowered/SpongeCommon/issues/334","id":122739008,"number":334,"title":"Cancelling ChangeBlockEvent.Modify Does Not Cancel Redstone Output","user":{"login":"clucky","id":1021793,"avatar_url":"https://avatars.githubusercontent.com/u/1021793?v=3","gravatar_id":"","url":"https://api.github.com/users/clucky","html_url":"https://github.com/clucky","followers_url":"https://api.github.com/users/clucky/followers","following_url":"https://api.github.com/users/clucky/following{/other_user}","gists_url":"https://api.github.com/users/clucky/gists{/gist_id}","starred_url":"https://api.github.com/users/clucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clucky/subscriptions","organizations_url":"https://api.github.com/users/clucky/orgs","repos_url":"https://api.github.com/users/clucky/repos","events_url":"https://api.github.com/users/clucky/events{/privacy}","received_events_url":"https://api.github.com/users/clucky/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-17T13:54:37Z","updated_at":"2015-12-24T05:14:34Z","closed_at":"2015-12-19T04:08:35Z","body":"In the case of buttons, levers, pressure plates, tripwire and any other block that outputs a redstone signal, cancelling the `ChangeBlockEvent.Modify` event does not cancel the redstone signal that is outputted immediately. There is a very short redstone signal output that is still sent out from the block, which is just long enough for a redstone repeater to detect. I would recommend that you use the test world that I provided to test this issue, as orientation of the redstone repeater can mean everything with this bug (redstone bugs are known to behave differently depending on the orientation). I have also provided a video, recorded in the test world, showing you the bug. I recorded this video from a second player, who is viewing the first player producing the bug, to eliminate any suspicion of client-side \"ghosting\". \r\n\r\nHere is the sample code that I used to produce this bug:\r\n````\r\n\t@Listener\r\n\tpublic void onBlockModify(ChangeBlockEvent.Modify event, @Root Player player) {\r\n\t\tevent.setCancelled(true);\r\n\t}\r\n````\r\n\r\nThe world file can be found at http://www.risingcolonies.com/files/world.zip. The area I'm testing at is located at -840,4, 1075\r\n\r\nAnd here's the video: https://www.youtube.com/watch?v=5cgStgLYLq0. Sorry about the sniffling, i'm getting sick :("},"comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/comments/167043636","html_url":"https://github.com/SpongePowered/SpongeCommon/issues/334#issuecomment-167043636","issue_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/334","id":167043636,"user":{"login":"clucky","id":1021793,"avatar_url":"https://avatars.githubusercontent.com/u/1021793?v=3","gravatar_id":"","url":"https://api.github.com/users/clucky","html_url":"https://github.com/clucky","followers_url":"https://api.github.com/users/clucky/followers","following_url":"https://api.github.com/users/clucky/following{/other_user}","gists_url":"https://api.github.com/users/clucky/gists{/gist_id}","starred_url":"https://api.github.com/users/clucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clucky/subscriptions","organizations_url":"https://api.github.com/users/clucky/orgs","repos_url":"https://api.github.com/users/clucky/repos","events_url":"https://api.github.com/users/clucky/events{/privacy}","received_events_url":"https://api.github.com/users/clucky/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T05:14:34Z","updated_at":"2015-12-24T05:14:34Z","body":"@bloodmc It appears to correct the issue. Thanks"}}