Skip to content

Commit 1db834c

Browse files
deprecated the NoPermissionResult
1 parent 0b07fd6 commit 1db834c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

commands/src/main/java/com/wizardlybump17/wlib/command/result/error/NoPermissionResult.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
import com.wizardlybump17.wlib.command.node.CommandNode;
44
import org.jetbrains.annotations.NotNull;
55

6+
/**
7+
* @deprecated use {@link UnauthorizedResult} or {@link ForbiddenResult}
8+
*/
9+
@Deprecated
610
public record NoPermissionResult<T>(int lastInputIndex, @NotNull CommandNode<?> lastNode) implements UnsuccessResult<T> {
711

812
public static final @NotNull String ID = "WLib:Unsuccess/NoPermission";

0 commit comments

Comments
 (0)