Skip to content

Flower duping module - Modded bonemeal-like items #41

Description

@Lordfirespeed


Modded bonemeals with durability (e.g. Occultism's 'nature paste') are consumed by this line instead of using durability.

Here's code for Occultism nature paste: https://github.com/klikli-dev/occultism/blob/6aae8cccabc7eb5252982ff3db1f83dad98d24c0/src/main/java/com/klikli_dev/occultism/common/item/tool/NaturePasteItem.java#L45

A simple fix would be to check if the item stack in the BoneMealEvent is minecraft:bone_meal and only shrinking the stack if so, but this may introduce false negatives

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions