Add DisablePrimeBombs to OnProjectileSetDefaults

This commit is contained in:
stacey 2021-07-24 19:53:13 -04:00 committed by GitHub
parent dcf1f07ff9
commit 11463930f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1627,6 +1627,9 @@ namespace TShockAPI
if (e.Info == 109)
if (Config.Settings.DisableSnowBalls)
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>