And kill wall checks too
This commit is contained in:
parent
11a85dc817
commit
0c991b74de
1 changed files with 1 additions and 1 deletions
|
|
@ -1758,7 +1758,7 @@ namespace TShockAPI
|
||||||
args.Player.TilesCreated.Add(coords, Main.tile[tileX, tileY].Data);
|
args.Player.TilesCreated.Add(coords, Main.tile[tileX, tileY].Data);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((type == 0 || type == 4) && Main.tileSolid[Main.tile[tileX, tileY].type] &&
|
if ((type == 0 || type == 4 || type == 2) && Main.tileSolid[Main.tile[tileX, tileY].type] &&
|
||||||
!args.Player.Group.HasPermission(Permissions.ignorekilltiledetection))
|
!args.Player.Group.HasPermission(Permissions.ignorekilltiledetection))
|
||||||
{
|
{
|
||||||
args.Player.TileKillThreshold++;
|
args.Player.TileKillThreshold++;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue