Renamed IgnoreActionsForClearingTrashCan to conform w/ changes

This just changes IgnoreActionsForClearingTrashCan to meet the
same naming scheme for the rest of the old ignore checks. For
consistency. Consistency is nice.
This commit is contained in:
Lucas Nicodemus 2017-12-20 17:33:18 -07:00
parent 4e186e7375
commit 8e5ee7d286
5 changed files with 11 additions and 10 deletions

View file

@ -863,7 +863,7 @@ namespace TShockAPI
{
args.Player.SendErrorMessage("Please /register or /login to play!");
}
else if (args.Player.IgnoreActionsForClearingTrashCan)
else if (args.Player.IsDisabledPendingTrashRemoval)
{
args.Player.SendErrorMessage("You need to rejoin to ensure your trash can is cleared!");
}