/plot grant add <name>
doesn't send success message
#4383
Labels
Approved
A project maintainer or developer has reproduced this issue
Bug
Something isn't working
Good first issue
Simple issue which would be a good first PR for newbies interested in contributing to the project
PlotSquared/Core/src/main/java/com/plotsquared/core/command/Grant.java
Lines 133 to 135 in ff83868
sends the success message, but commonly, you don't reach the
else
block, unlesspp == null
, which isn't the case, normally.We could move the message to the line below
PlotSquared/Core/src/main/java/com/plotsquared/core/command/Grant.java
Line 103 in ff83868
where the actual grant is added to the player.
The text was updated successfully, but these errors were encountered: