Update dll

This commit is contained in:
MSWS
2024-09-18 16:47:19 -07:00
parent 53f5a0a0c2
commit 92302af806
3 changed files with 3 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ public class SDColorCommand(IServiceProvider provider) : ICommand {
var cost = color.GetCost();
if (await eco.TryPurchase(executor, cost,
item: "Bomb Icon: " + color.ToString().ToTitleCase()) < 0)
item: "Special Day Color: " + color.ToString().ToTitleCase()) < 0)
return CommandResult.SUCCESS;
data.Unlocked |= color;

View File

@@ -67,9 +67,8 @@ public class SpecialDayManager(ISpecialDayFactory factory)
if (color != null) {
wrapper.PrintToChat(ChatColors.Grey + "Your gang will be "
+ color.Value.GetChatColor() + color.Value.ToString().ToTitleCase()
+ ChatColors.Grey + " during this special day.");
wrapper.PrintToChat(
$" {ChatColors.Grey}Your gang will be {color.Value.GetChatColor()}{color.Value.ToString().ToTitleCase()}{ChatColors.Grey} during this special day.");
var toSet = color.Value.GetColor() ?? color.Value.PickRandom();
if (toSet != null)
await Server.NextFrameAsync(() => player.SetColor(toSet.Value));