Renamed value in config

This commit is contained in:
AkjaHAsLk1IALk0MasH 2021-11-30 14:23:49 +07:00
parent 1a62d1dfed
commit 77032ccbea
2 changed files with 2 additions and 2 deletions

View file

@ -1096,7 +1096,7 @@ namespace TShockAPI
return;
}
if (TShock.Config.Settings.DisableAnyZenith && type == ProjectileID.FinalFractal && (ai[0] < -100 || ai[0] > 101 ) && !Terraria.Graphics.FinalFractalHelper._fractalProfiles.ContainsKey((int)ai[1]))
if (TShock.Config.Settings.DisableModifiedZenith && type == ProjectileID.FinalFractal && (ai[0] < -100 || ai[0] > 101 ) && !Terraria.Graphics.FinalFractalHelper._fractalProfiles.ContainsKey((int)ai[1]))
{
TShock.Log.ConsoleDebug("Bouncer / OnNewProjectile rejected from bouncer modified Zenith projectile from {0}.", args.Player.Name);
args.Player.RemoveProjectile(ident, owner);

View file

@ -459,7 +459,7 @@ namespace TShockAPI.Configuration
/// <summary>Prohibit the use of Zenith projectile with different objects instead of weapons.</summary>
[Description("Prohibit the use of Zenith projectile with different objects instead of weapons.")]
public bool DisableAnyZenith = true;
public bool DisableModifiedZenith = false;
#endregion