diff --git a/RainbowChat/README.md b/RainbowChat/README.md index 79b4a77af..dfd0ee327 100644 --- a/RainbowChat/README.md +++ b/RainbowChat/README.md @@ -8,7 +8,8 @@ ``` 1.0.3 -更新了渐变色值 +更新了子命令:/rc 渐变 与 /rc 随机 +加入了配置文件专门调整渐变色值用(你直管改RGBA值就行了,A是透明度,RGB是红绿蓝) ``` ## 指令 diff --git a/RainbowChat/RainbowChat.cs b/RainbowChat/RainbowChat.cs index 18b2e46ce..610d1b6de 100644 --- a/RainbowChat/RainbowChat.cs +++ b/RainbowChat/RainbowChat.cs @@ -92,10 +92,6 @@ private void OnChat(ServerChatEventArgs e) TSPlayer.All.SendMessage(string.Format(TShock.Config.Settings.ChatFormat, player.Group.Name, player.Group.Prefix, player.Name, player.Group.Suffix, gradientMessage), player.Group.R, player.Group.G, player.Group.B); e.Handled = true; } - else - { - TSPlayer.Server.SendMessage(string.Format(TShock.Config.Settings.ChatFormat, player.Group.Name, player.Group.Prefix, player.Name, player.Group.Suffix, e.Text), player.Group.R, player.Group.G, player.Group.B); - } } private void RainbowChatCallback(CommandArgs e)