DisableTombstones now also prevents the new Golden Tombstones from dropping (sorry rich dudes)
This commit is contained in:
parent
2b1973b4a5
commit
d966e1dd25
1 changed files with 1 additions and 1 deletions
|
|
@ -1362,7 +1362,7 @@ namespace TShockAPI
|
||||||
private void OnProjectileSetDefaults(SetDefaultsEventArgs<Projectile, int> e)
|
private void OnProjectileSetDefaults(SetDefaultsEventArgs<Projectile, int> e)
|
||||||
{
|
{
|
||||||
//tombstone fix.
|
//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)
|
if (Config.DisableTombstones)
|
||||||
e.Object.SetDefaults(0);
|
e.Object.SetDefaults(0);
|
||||||
if (e.Info == 75)
|
if (e.Info == 75)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue