Skip to content

Commit de8dbfb

Browse files
committed
fix: remove incorrect child permission
1 parent a758313 commit de8dbfb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/example_plugin.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ ENDSTONE_PLUGIN(/*name=*/"cpp_example", /*version=*/"0.4.0", /*main_class=*/Exam
3232

3333
permission("cpp_example.command.fibonacci")
3434
.description("Allow users to use the fibonacci command")
35-
.default_(endstone::PermissionDefault::True)
36-
.children("cpp_example.command.fibonacci.large_n", true);
35+
.default_(endstone::PermissionDefault::True);
3736

3837
permission("cpp_example.command.fibonacci.large_n")
3938
.description("Allow users to use the fibonacci command with n >= 1000")

0 commit comments

Comments
 (0)