Use getItem not getBlock

Also maybe put it in the right eventhandler