DisableTombstones now also prevents the new Golden Tombstones from dropping (sorry rich dudes)

This commit is contained in:
Enerdy 2015-07-06 00:05:13 +01:00
parent 2b1973b4a5
commit d966e1dd25

View file

@ -1362,7 +1362,7 @@ namespace TShockAPI
private void OnProjectileSetDefaults(SetDefaultsEventArgs<Projectile, int> e)
{
//tombstone fix.
if (e.Info == 43 || (e.Info >= 201 && e.Info <= 205))
if (e.Info == 43 || (e.Info >= 201 && e.Info <= 205) || (e.Info >= 527 && e.Info <= 531))
if (Config.DisableTombstones)
e.Object.SetDefaults(0);
if (e.Info == 75)