NyxStudios/TShock — pull request #724 by Simon311 (2013-11-20 16:56:37+00:00)
Title: Fixes for TShock.Config.AllowCutTilesAndBreakables and some of /item logic

1) TShock.Config.AllowCutTilesAndBreakables as it is now allows players to steal torches and mannequins and some other stuff from protected regions. Fixed in this pull request (you might want to rename the option though).

2) In /item coins are currently detected by item.name.Contains("Coin"), which also includes Coin Gun (fixed in my previous PR though), and Lucky Coin. In this PR, coins are detected using item IDs. Also, this commit adds similar handling for ammo, because there are also ammo slots as well as coin slots.