fix wrong Better Chat documentation
This commit is contained in:
1 parent
0c1b5b7a9a
commit
fe32137c09
3 files changed
+24
-5
No files matched your search
@@ -22,7 +22,7 @@ class SimpleChatColorer implements CommandListener, CallbackListener, Plugin {
|
||||
* Constants
|
||||
*/
|
||||
const PLUGIN_ID = 161;
|
||||
const PLUGIN_VERSION = 1.1;
|
||||
const PLUGIN_VERSION = 1.2;
|
||||
const PLUGIN_NAME = 'SimpleChatColorer';
|
||||
const PLUGIN_AUTHOR = 'Beu';
|
||||
|
||||
@@ -211,7 +211,7 @@ class SimpleChatColorer implements CommandListener, CallbackListener, Plugin {
|
||||
if (!in_array($player->login, $this->betterchatlogins)) {
|
||||
array_push($this->betterchatlogins, $player->login);
|
||||
}
|
||||
} else if (isset($argument[1]) && $argument[1] == "default") {
|
||||
} else if (isset($argument[1]) && $argument[1] == "text") {
|
||||
if (($key = array_search($player->login, $this->betterchatlogins)) !== false) {
|
||||
unset($this->betterchatlogins[$key]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user