Fix bubble tile triggering noclip checks.
This commit is contained in:
parent
f6e819feb6
commit
63bf256abf
2 changed files with 4 additions and 2 deletions
|
|
@ -26,6 +26,7 @@ using System.Security.Cryptography;
|
|||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using TShockAPI.DB;
|
||||
using BCrypt.Net;
|
||||
|
||||
|
|
@ -291,7 +292,8 @@ namespace TShockAPI
|
|||
{
|
||||
return TilePlacementValid(tileX, tileY) && Main.tile[tileX, tileY] != null &&
|
||||
Main.tile[tileX, tileY].active() && Main.tileSolid[Main.tile[tileX, tileY].type] &&
|
||||
!Main.tile[tileX, tileY].inActive() && !Main.tile[tileX, tileY].halfBrick() && Main.tile[tileX, tileY].slope() == 0;
|
||||
!Main.tile[tileX, tileY].inActive() && !Main.tile[tileX, tileY].halfBrick() &&
|
||||
Main.tile[tileX, tileY].slope() == 0 && Main.tile[tileX, tileY].type != TileID.Bubble;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue