Fixed #110 - more null checks, fixed a potential ClassCastException
in BlockBreakEventHandler