Made disable message for login use specifier

This commit is contained in:
Lucas Nicodemus 2017-12-20 19:00:16 -07:00
parent 4fa0f888ea
commit e1e4f41118

View file

@ -861,7 +861,7 @@ namespace TShockAPI
} }
else if (TShock.Config.RequireLogin && !args.Player.IsLoggedIn) else if (TShock.Config.RequireLogin && !args.Player.IsLoggedIn)
{ {
args.Player.SendErrorMessage("Please /register or /login to play!"); args.Player.SendErrorMessage("Account needed! Please {0}register or {0}login to play!", TShock.Config.CommandSpecifier);
} }
else if (args.Player.IgnoreActionsForClearingTrashCan) else if (args.Player.IgnoreActionsForClearingTrashCan)
{ {