mirror of
https://github.com/edgegamers/Jailbreak.git
synced 2025-12-06 04:42:57 -08:00
Update dll
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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));
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user