onHit not respecting hitting leaves
Summary
Using the onHit attribute, I cannot get the skill to fire off correctly when hitting a leaf block; the skill passes through the leaves instead of ending when hitting the block.
Steps to reproduce
Using this skill, aim at oak leaves with air behind them, the skill will pass through the leaves instead of stopping once hit.
Current behavior
The skill continues on past the first point on contact.
Intended correct behavior
Skill should stop when the leaves are hit.
Server log file
Debug log snippet
Proposed fixes
Make onHit hit leaves.