TreeAssist icon indicating copy to clipboard operation
TreeAssist copied to clipboard

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

Open SaitDev opened this issue 1 month ago • 0 comments

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

SaitDev avatar Dec 28 '24 18:12 SaitDev