Skip to content

Trees are replanted even if player lack of perm treeassist.replant #103

@SaitDev

Description

@SaitDev

The issue is mentioned as so in the title.

I tried to look at the code, i guess you are missing the negative compare at https://github.com/slipcor/TreeAssist/blob/master/src/main/java/net/slipcor/treeassist/discovery/TreeStructure.java#L2034 .
Should be !TreeAssist.instance.getBlockListener().isReplant(player.getName())
Since the BlockListener.replant list is about forcing replant, not normal replanting.

Please correct me if im wrong, Im not very familiar with the codebase

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