Fix block break error caused by a bug in bukkit.