Bug Closed · Resolved

onHit not respecting hitting leaves

#1543 opened by Unknown 5 years ago

Unknownreported this bug

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

https://pastebin.com/Rn4V7WTB

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

https://pastebin.com/TfMkLUai

Debug log snippet

https://pastebin.com/JJKJBegc

Proposed fixes

Make onHit hit leaves.

Unknowncommented

After talking to Josh, this isn't a bug and instead intended behaviour.

Sign in to join the discussion.