fix error msg

This commit is contained in:
stacey 2021-05-12 22:08:10 -04:00 committed by GitHub
parent 306e4d1ab4
commit d2a0a539f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5961,7 +5961,7 @@ namespace TShockAPI
{ {
if (args.Parameters.Count < 1 || args.Parameters.Count > 2) if (args.Parameters.Count < 1 || args.Parameters.Count > 2)
{ {
args.Player.SendErrorMessage("Invalid syntax! Proper syntax: {0}buff <required: buff name or ID> [optional: time in seconds]", Specifier); args.Player.SendErrorMessage("Invalid syntax! Proper syntax: {0}buff <buff name or ID> [time in seconds]", Specifier);
return; return;
} }
int id = 0; int id = 0;