Removed DisablePiggybanksOnSSC configuration option; piggy banks and safes cannot be used with SSC at this time.
This commit is contained in:
parent
fe00e3a195
commit
0878900ea5
2 changed files with 1 additions and 3 deletions
|
|
@ -238,8 +238,6 @@ namespace TShockAPI
|
|||
|
||||
[Description("Prevent banned items from being /i or /give.")] public bool PreventBannedItemSpawn = false;
|
||||
|
||||
[Description("Prevent banks on SSC.")] public bool DisablePiggybanksOnSSC = true;
|
||||
|
||||
[Description("Prevent players from interacting with the world if dead.")] public bool PreventDeadModification =
|
||||
true;
|
||||
|
||||
|
|
|
|||
2
TShockAPI/GetDataHandlers.cs
Executable file → Normal file
2
TShockAPI/GetDataHandlers.cs
Executable file → Normal file
|
|
@ -1898,7 +1898,7 @@ namespace TShockAPI
|
|||
args.Player.SendTileSquare(tileX, tileY, 4);
|
||||
return true;
|
||||
}
|
||||
if (action == EditAction.PlaceTile && (editData == 29 || editData == 97) && TShock.Config.ServerSideCharacter && TShock.Config.DisablePiggybanksOnSSC)
|
||||
if (action == EditAction.PlaceTile && (editData == 29 || editData == 97) && TShock.Config.ServerSideCharacter)
|
||||
{
|
||||
args.Player.SendErrorMessage("You cannot place this tile because server side characters are enabled.");
|
||||
args.Player.SendTileSquare(tileX, tileY, 3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue