Initial working commit.
This commit is contained in:
parent
073088156c
commit
079541d4c9
3 changed files with 16 additions and 2 deletions
|
|
@ -1640,7 +1640,8 @@ namespace TShockAPI
|
|||
if (e.number >= 0 && e.number < Main.projectile.Length)
|
||||
{
|
||||
var projectile = Main.projectile[e.number];
|
||||
if (projectile.active && projectile.owner >= 0 && GetDataHandlers.projectileCreatesLiquid.ContainsKey(projectile.type))
|
||||
if (projectile.active && projectile.owner >= 0 &&
|
||||
(GetDataHandlers.projectileCreatesLiquid.ContainsKey(projectile.type) || GetDataHandlers.projectileCreatesTile.ContainsKey(projectile.type)))
|
||||
{
|
||||
var player = Players[projectile.owner];
|
||||
if (player != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue