TreeAssist
TreeAssist copied to clipboard
Trees are replanted even if player lack of perm treeassist.replant
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