attempted to fix exception in onBlockBreak.