Add DisablePrimeBombs to OnProjectileSetDefaults
This commit is contained in:
parent
dcf1f07ff9
commit
11463930f3
1 changed files with 3 additions and 0 deletions
|
|
@ -1627,6 +1627,9 @@ namespace TShockAPI
|
||||||
if (e.Info == 109)
|
if (e.Info == 109)
|
||||||
if (Config.Settings.DisableSnowBalls)
|
if (Config.Settings.DisableSnowBalls)
|
||||||
e.Object.SetDefaults(0);
|
e.Object.SetDefaults(0);
|
||||||
|
if (e.Info == ProjectileID.BombSkeletronPrime)
|
||||||
|
if (Config.Settings.DisablePrimeBombs)
|
||||||
|
e.Object.SetDefaults(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>NetHooks_SendData - Fired when the server sends data.</summary>
|
/// <summary>NetHooks_SendData - Fired when the server sends data.</summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue