Format issues and tile place check for walls
This commit is contained in:
parent
3e9c88685e
commit
11a85dc817
2 changed files with 10 additions and 8 deletions
|
|
@ -1750,7 +1750,7 @@ namespace TShockAPI
|
|||
return true;
|
||||
}
|
||||
|
||||
if (type == 1 && !args.Player.Group.HasPermission(Permissions.ignoreplacetiledetection))
|
||||
if ( ( type == 1 || type == 3 ) && !args.Player.Group.HasPermission(Permissions.ignoreplacetiledetection))
|
||||
{
|
||||
args.Player.TilePlaceThreshold++;
|
||||
var coords = new Vector2(tileX, tileY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue