Merge branch 'general-devel' into projectilestruct-addition
This commit is contained in:
commit
badba523e7
11 changed files with 822 additions and 293 deletions
|
|
@ -1639,7 +1639,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