Fixed a bad index check on /tempgroup
This commit is contained in:
parent
3276a8c532
commit
18988ecba1
1 changed files with 1 additions and 1 deletions
|
|
@ -1672,7 +1672,7 @@ namespace TShockAPI
|
|||
|
||||
ply[0].tempGroup = g;
|
||||
|
||||
if (args.Parameters.Count < 2)
|
||||
if (args.Parameters.Count < 3)
|
||||
{
|
||||
args.Player.SendSuccessMessage(String.Format("You have changed {0}'s group to {1}", ply[0].Name, g.Name));
|
||||
ply[0].SendSuccessMessage(String.Format("Your group has temporarily been changed to {0}", g.Name));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue