From d8aa7b0f69ec66aaa46a302f70048d00838a6a58 Mon Sep 17 00:00:00 2001
From: stacey <57187883+moisterrific@users.noreply.github.com>
Date: Mon, 13 Sep 2021 10:02:03 -0400
Subject: [PATCH] Change RespawnSeconds & RespawnBossSeconds to use default
a value of 0 will use the default time based on selected difficulty
---
TShockAPI/Configuration/TShockConfig.cs | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/TShockAPI/Configuration/TShockConfig.cs b/TShockAPI/Configuration/TShockConfig.cs
index 14e56cb6..38ed0c46 100644
--- a/TShockAPI/Configuration/TShockConfig.cs
+++ b/TShockAPI/Configuration/TShockConfig.cs
@@ -251,13 +251,13 @@ namespace TShockAPI.Configuration
[Description("Allows groups on the banned item allowed list to spawn banned items even if PreventBannedItemSpawn is set to true.")]
public bool AllowAllowedGroupsToSpawnBannedItems = false;
- /// The number of seconds a player must wait before being respawned. Cannot be longer than normal value now. Use at your own risk.
- [Description("The number of seconds a player must wait before being respawned. Cannot be longer than normal value now. Use at your own risk.")]
- public int RespawnSeconds = 10;
+ /// The number of seconds a player must wait before being respawned. Valid range: 0 (default) to 15 seconds. Use at your own risk.
+ [Description("The number of seconds a player must wait before being respawned. Valid range: 0 (default) to 15 seconds. Use at your own risk.")]
+ public int RespawnSeconds = 0;
- /// The number of seconds a player must wait before being respawned if there is a boss nearby. Cannot be longer than normal value now. Use at your own risk.
- [Description("The number of seconds a player must wait before being respawned if there is a boss nearby. Cannot be longer than normal value now. Use at your own risk.")]
- public int RespawnBossSeconds = 10;
+ /// The number of seconds a player must wait before being respawned if there is a boss nearby. Valid range: 0 (default) to 30 seconds. Use at your own risk.
+ [Description("The number of seconds a player must wait before being respawned if there is a boss nearby. Valid range: 0 (default) to 30 seconds. Use at your own risk.")]
+ public int RespawnBossSeconds = 0;
/// Whether or not to announce boss spawning or invasion starts.
[Description("Whether or not to announce boss spawning or invasion starts.")]