Fix MatchPlacement allowing auto breakable tiles
This commit is contained in:
parent
d15b25aa06
commit
07bf66f072
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ namespace TShockAPI.Handlers
|
|||
{
|
||||
for (int y = rect.Y; y < rect.Y + rect.Height; y++)
|
||||
{
|
||||
if (Main.tile[x, y].active() && !(Main.tile[x, y].type != TileID.RollingCactus && (Main.tileCut[Main.tile[x, y].type] || TileID.Sets.BreakableWhenPlacing[Main.tile[x, y].type])))
|
||||
if (Main.tile[x, y].active()) // the client will kill tiles that auto break before placing the object
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue