From 461eaad3d1193b704b66ab60476d3a70be753486 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 20 Mar 2024 11:57:40 +0000 Subject: [PATCH] docs: update README.md --- README.md | 2 +- include/example_plugin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7c391c8..f47e482 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/include/example_plugin.h b/include/example_plugin.h index ea03952..c76713f 100644 --- a/include/example_plugin.h +++ b/include/example_plugin.h @@ -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!");