From 8dc7fd0b7bd5e4e8f5b9c48df4ef29dc82e2f0aa Mon Sep 17 00:00:00 2001 From: AnchyDev Date: Thu, 15 Feb 2024 12:14:06 +1100 Subject: [PATCH 1/2] Fix typo and set default config enable to 0. --- conf/my_custom.conf.dist | 2 +- src/MyPlayer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/my_custom.conf.dist b/conf/my_custom.conf.dist index eb614f9..d38b74a 100644 --- a/conf/my_custom.conf.dist +++ b/conf/my_custom.conf.dist @@ -14,4 +14,4 @@ # 1 - Enabled # -MyModule.Enable = 1 +MyModule.Enable = 0 diff --git a/src/MyPlayer.cpp b/src/MyPlayer.cpp index 968dd66..e23ed59 100644 --- a/src/MyPlayer.cpp +++ b/src/MyPlayer.cpp @@ -7,7 +7,7 @@ #include "Config.h" #include "Chat.h" -enum MyPlatyerAcoreString +enum MyPlayerAcoreString { HELLO_WORLD = 35410 }; From 2241fa0bf7849a376cff66e78458d2755d06f571 Mon Sep 17 00:00:00 2001 From: Walter Pagani Date: Thu, 15 Feb 2024 23:32:56 -0300 Subject: [PATCH 2/2] Update my_custom.conf.dist Add default value to 1, so that it is enabled. On the contrary, the message will not be displayed on the screen otherwise. --- conf/my_custom.conf.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/my_custom.conf.dist b/conf/my_custom.conf.dist index d38b74a..eb614f9 100644 --- a/conf/my_custom.conf.dist +++ b/conf/my_custom.conf.dist @@ -14,4 +14,4 @@ # 1 - Enabled # -MyModule.Enable = 0 +MyModule.Enable = 1