Fix tombstones.
This commit is contained in:
parent
7baac27163
commit
40dbe84817
1 changed files with 2 additions and 1 deletions
|
|
@ -1116,7 +1116,8 @@ namespace TShockAPI
|
||||||
|
|
||||||
private void OnProjectileSetDefaults(SetDefaultsEventArgs<Projectile, int> e)
|
private void OnProjectileSetDefaults(SetDefaultsEventArgs<Projectile, int> e)
|
||||||
{
|
{
|
||||||
if (e.Info == 43)
|
//tombstone fix.
|
||||||
|
if (e.Info == 43 || (e.Info >= 201 && e.Info <= 205))
|
||||||
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