Merge branch 'general-devel' into fix_trapdoors
This commit is contained in:
commit
d864acd22f
4 changed files with 40 additions and 5 deletions
|
|
@ -2203,8 +2203,13 @@ namespace TShockAPI
|
|||
return true;
|
||||
}
|
||||
}
|
||||
if (TShock.Config.AllowCutTilesAndBreakables && Main.tileCut[Main.tile[tileX, tileY].type])
|
||||
if (TShock.Config.AllowCutTilesAndBreakables && Main.tileCut[tile.type])
|
||||
{
|
||||
if (action == EditAction.KillWall)
|
||||
{
|
||||
args.Player.SendTileSquare(tileX, tileY, 1);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue