Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #239

Closed
Open
Created Dec 25, 2020 by Grumblin@GrumblinReporter

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

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.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking