Fixed NPE in BlockListener

Signed-off-by: Grafe <flingelfrank@hotmail.com>