Skip to content

Commit

Permalink
update 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
1242509682 committed Apr 21, 2024
1 parent affdd61 commit fccdd3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion RainbowChat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

```
1.0.3
更新了渐变色值
更新了子命令:/rc 渐变 与 /rc 随机
加入了配置文件专门调整渐变色值用(你直管改RGBA值就行了,A是透明度,RGB是红绿蓝)
```

## 指令
Expand Down
4 changes: 0 additions & 4 deletions RainbowChat/RainbowChat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fccdd3f

Please sign in to comment.