parent
63a8d6cdc4
commit
69529fad38
3 changed files with 6 additions and 6 deletions
|
|
@ -735,7 +735,7 @@ namespace TShockAPI
|
|||
|
||||
if (TShock.Config.ServerSideCharacter)
|
||||
{
|
||||
if (group.HasPermission(Permissions.bypassinventorychecks))
|
||||
if (group.HasPermission(Permissions.bypassssc))
|
||||
{
|
||||
args.Player.IgnoreActionsForClearingTrashCan = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1307,7 +1307,7 @@ namespace TShockAPI
|
|||
}
|
||||
else if (
|
||||
TShock.Config.ServerSideCharacter && TShock.Config.DisableLoginBeforeJoin && !bypassTrashCanCheck &&
|
||||
args.Player.HasSentInventory && !args.Player.Group.HasPermission(Permissions.bypassinventorychecks)
|
||||
args.Player.HasSentInventory && !args.Player.Group.HasPermission(Permissions.bypassssc)
|
||||
) {
|
||||
// The player might have moved an item to their trash can before they performed a single login attempt yet.
|
||||
args.Player.IgnoreActionsForClearingTrashCan = true;
|
||||
|
|
@ -1455,7 +1455,7 @@ namespace TShockAPI
|
|||
|
||||
if (TShock.Config.ServerSideCharacter)
|
||||
{
|
||||
if (group.HasPermission(Permissions.bypassinventorychecks))
|
||||
if (group.HasPermission(Permissions.bypassssc))
|
||||
{
|
||||
args.Player.IgnoreActionsForClearingTrashCan = false;
|
||||
}
|
||||
|
|
@ -1533,7 +1533,7 @@ namespace TShockAPI
|
|||
|
||||
if (TShock.Config.ServerSideCharacter)
|
||||
{
|
||||
if (group.HasPermission(Permissions.bypassinventorychecks))
|
||||
if (group.HasPermission(Permissions.bypassssc))
|
||||
{
|
||||
args.Player.IgnoreActionsForClearingTrashCan = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -142,8 +142,8 @@ namespace TShockAPI
|
|||
[Description("Prevents your actions from being ignored if damage is too high.")]
|
||||
public static readonly string ignoredamagecap = "tshock.ignore.damage";
|
||||
|
||||
[Description("Bypass server side inventory checks")]
|
||||
public static readonly string bypassinventorychecks = "tshock.ignore.ssi";
|
||||
[Description("Bypass server side character checks")]
|
||||
public static readonly string bypassssc = "tshock.ignore.ssc";
|
||||
|
||||
[Description("Allow unrestricted SendTileSquare usage, for client side world editing.")]
|
||||
public static readonly string allowclientsideworldedit = "tshock.ignore.sendtilesquare";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue