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:
parent
4e186e7375
commit
8e5ee7d286
5 changed files with 11 additions and 10 deletions
|
|
@ -1636,7 +1636,7 @@ namespace TShockAPI
|
|||
args.Player.SendSuccessMessage("SSC has been saved.");
|
||||
foreach (TSPlayer player in TShock.Players)
|
||||
{
|
||||
if (player != null && player.IsLoggedIn && !player.IgnoreActionsForClearingTrashCan)
|
||||
if (player != null && player.IsLoggedIn && !player.IsDisabledPendingTrashRemoval)
|
||||
{
|
||||
TShock.CharacterDB.InsertPlayerData(player, true);
|
||||
}
|
||||
|
|
@ -1681,7 +1681,7 @@ namespace TShockAPI
|
|||
args.Player.SendErrorMessage("Player \"{0}\" has to perform a /login attempt first.", matchedPlayer.Name);
|
||||
return;
|
||||
}
|
||||
if (matchedPlayer.IgnoreActionsForClearingTrashCan)
|
||||
if (matchedPlayer.IsDisabledPendingTrashRemoval)
|
||||
{
|
||||
args.Player.SendErrorMessage("Player \"{0}\" has to reconnect first.", matchedPlayer.Name);
|
||||
return;
|
||||
|
|
@ -1887,7 +1887,7 @@ namespace TShockAPI
|
|||
{
|
||||
foreach (TSPlayer player in TShock.Players)
|
||||
{
|
||||
if (player != null && player.IsLoggedIn && !player.IgnoreActionsForClearingTrashCan)
|
||||
if (player != null && player.IsLoggedIn && !player.IsDisabledPendingTrashRemoval)
|
||||
{
|
||||
player.SaveServerCharacter();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue