Deprecate DCU disable; default to on

This commit is contained in:
Lucas Nicodemus 2015-07-14 04:21:12 -06:00
parent ba74a9d740
commit b922d8722e
2 changed files with 8 additions and 1 deletions

View file

@ -3043,6 +3043,9 @@ namespace TShockAPI
if (type == BuffID.DrillMount && !TShock.Config.VeryDangerousDoNotChangeEnableDrillContainmentUnit)
{
TShock.Log.ConsoleInfo("The configuration option disabling the drill containment unit will be removed at a future date.");
TShock.Log.ConsoleInfo("As of Terraria 1.3.0.5, this option is no longer defaulted to kick DCU users.");
TShock.Log.ConsoleInfo("This is because the DCU is now covered by TShock protection systems.");
TShock.Utils.ForceKick(TShock.Players[id], "The Drill Containment Unit is disabled.");
return true;
}
@ -3343,6 +3346,9 @@ namespace TShockAPI
if (buff == BuffID.DrillMount && !TShock.Config.VeryDangerousDoNotChangeEnableDrillContainmentUnit)
{
TShock.Log.ConsoleInfo("The configuration option disabling the drill containment unit will be removed at a future date.");
TShock.Log.ConsoleInfo("As of Terraria 1.3.0.5, this option is no longer defaulted to kick DCU users.");
TShock.Log.ConsoleInfo("This is because the DCU is now covered by TShock protection systems.");
TShock.Utils.ForceKick(TShock.Players[id], "The Drill Containment Unit is disabled.");
return true;
}