Add checks to projectile packet to prevent client crashing.

(out of range and float NaN issue)
This commit is contained in:
Deathmax 2011-07-31 20:33:41 +08:00
parent 031721c169
commit 43b05ec3ef
2 changed files with 13 additions and 0 deletions

View file

@ -93,6 +93,7 @@ namespace TShockAPI
public string TileKillAbuseReason = "Tile Kill abuse ({0})";
public string HardcoreBanReason = "Death results in a ban";
public string HardcoreKickReason = "Death results in a kick";
public string ProjectileAbuseReason = "Projectile abuse";
public bool EnableDNSHostResolution;