Added listener for hanging entities

I've modified the block listener to listen for HangingEvents rather than PaintingEvents (which is deprecated) so it detects when a player tries to break an item frame.