Cut useless code; Updated for Terraria v1.2.0.2 & TShock v4.2.x