From 8f69c6e767c85caa2a7803eb7a01481a8d364468 Mon Sep 17 00:00:00 2001
From: AkjaHAsLk1IALk0MasH <46046453+AgaSpace@users.noreply.github.com>
Date: Tue, 30 Nov 2021 20:50:51 +0700
Subject: [PATCH] Created a new field in config.
---
TShockAPI/Configuration/TShockConfig.cs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/TShockAPI/Configuration/TShockConfig.cs b/TShockAPI/Configuration/TShockConfig.cs
index 2c643fab..d87dfa22 100644
--- a/TShockAPI/Configuration/TShockConfig.cs
+++ b/TShockAPI/Configuration/TShockConfig.cs
@@ -460,6 +460,10 @@ namespace TShockAPI.Configuration
/// Prohibit the use of Zenith projectile with different objects instead of weapons.
[Description("Prohibit the use of Zenith projectile with different objects instead of weapons.")]
public bool DisableModifiedZenith = false;
+
+ /// Allows you to disable or enable protection against creating custom messages with death. Created for developers who came up with a more original solution to this problem.
+ [Description("Allows you to disable or enable protection against creating custom messages with death. Created for developers who came up with a more original solution to this problem.")]
+ public bool DisableCustomDeathMessages = true;
#endregion