Format issues and tile place check for walls

This commit is contained in:
Zack Piispanen 2012-05-30 18:31:40 -04:00
parent 3e9c88685e
commit 11a85dc817
2 changed files with 10 additions and 8 deletions

View file

@ -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);