Added a config option for preventing world modification when dead
Closes #437
This commit is contained in:
parent
9648fe1060
commit
2537da2346
2 changed files with 9 additions and 0 deletions
|
|
@ -230,6 +230,9 @@ namespace TShockAPI
|
|||
|
||||
[Description("Prevent banks on SSI")] public bool DisablePiggybanksOnSSI = false;
|
||||
|
||||
[Description("Prevent players from interacting with the world if dead")] public bool PreventDeadModification =
|
||||
false;
|
||||
|
||||
public static ConfigFile Read(string path)
|
||||
{
|
||||
if (!File.Exists(path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue