fixed problem: missing "block.getState().update();"
Merge pull request #1 from Chaos234/master

fixed problem with th state of the dipsenser after the event