Skip to content

Trigger harvest event when harvesting crops #309

@No1InParticular

Description

@No1InParticular

Hi there!

I am using your plugin alongside some other bits, and have noticed an issue.

We have a plugin using the PlayerHarvestBlockEvent to duplicate some drops when farming, but we have noticed that it doesn't trigger that event when right-clicking or using a sickle.

I quickly looked through the code and saw you are triggering a break block to check if cancelled.
Is there any chance something similar could be done to send the PlayerHarvestBlockEvent?

Hopefully, this would also improve compatibility with other 3rd party plugins and make for an overall better experience in places it is used.

Thanks 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions