Renamed value in config
This commit is contained in:
parent
1a62d1dfed
commit
77032ccbea
2 changed files with 2 additions and 2 deletions
|
|
@ -1096,7 +1096,7 @@ namespace TShockAPI
|
||||||
return;
|
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);
|
TShock.Log.ConsoleDebug("Bouncer / OnNewProjectile rejected from bouncer modified Zenith projectile from {0}.", args.Player.Name);
|
||||||
args.Player.RemoveProjectile(ident, owner);
|
args.Player.RemoveProjectile(ident, owner);
|
||||||
|
|
|
||||||
|
|
@ -459,7 +459,7 @@ namespace TShockAPI.Configuration
|
||||||
|
|
||||||
/// <summary>Prohibit the use of Zenith projectile with different objects instead of weapons.</summary>
|
/// <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.")]
|
[Description("Prohibit the use of Zenith projectile with different objects instead of weapons.")]
|
||||||
public bool DisableAnyZenith = true;
|
public bool DisableModifiedZenith = false;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue