Skip to content

Commit

Permalink
Update TShockAPI/Commands.cs
Browse files Browse the repository at this point in the history
Co-authored-by: punchready <[email protected]>
  • Loading branch information
sgkoishi and punchready authored Jun 12, 2023
1 parent 5bcde68 commit f66ad72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TShockAPI/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6462,7 +6462,7 @@ private static void GBuff(CommandArgs args)
if (target == user)
user.SendSuccessMessage(GetString($"You buffed yourself with {TShock.Utils.GetBuffName(id)} ({TShock.Utils.GetBuffDescription(id)}) for {time} seconds."));
else
user.SendSuccessMessage(GetString($"You have buffed {user.Name} with {TShock.Utils.GetBuffName(id)} ({TShock.Utils.GetBuffDescription(id)}) for {time} seconds!"));
user.SendSuccessMessage(GetString($"You have buffed {target.Name} with {TShock.Utils.GetBuffName(id)} ({TShock.Utils.GetBuffDescription(id)}) for {time} seconds!"));
if (!args.Silent && target != user)
target.SendSuccessMessage(GetString($"{user.Name} has buffed you with {TShock.Utils.GetBuffName(id)} ({TShock.Utils.GetBuffDescription(id)}) for {time} seconds!"));
}
Expand Down

0 comments on commit f66ad72

Please sign in to comment.