Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Mar 20, 2024
1 parent 24cf1f6 commit 461eaad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cpp-example-plugin/
│ ├── example_plugin.h # Header for the ExamplePlugin class
│ └── fibonacci_command.h # Header for the FibonacciCommand class
├── src/ # Source files for the plugin
│ └── example_plugin.cpp # Source for the ExamplePlugin class
│ └── example_plugin.cpp # Source and metadata for the plugin
├── .clang-format # Configuration for Clang format rules
├── .gitignore # Git ignore rules
├── CMakeLists.txt # CMake configuration for building the plugin
Expand Down
2 changes: 1 addition & 1 deletion include/example_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ExamplePlugin : public endstone::Plugin {
// You can also handle commands here instead of setting an executor in onEnable if you prefer
if (command.getName() == "debug") {
if (sender.isOp()) {
sender.sendMessage(endstone::ColorFormat::DARK_GREEN + "You are seeing this because you are OP!");
sender.sendMessage(endstone::ColorFormat::DARK_GREEN + "You are seeing this because you are the OP!");
}
else {
sender.sendErrorMessage("You should never see this!");
Expand Down

0 comments on commit 461eaad

Please sign in to comment.