Up the default TilePaintThreshold and fix one last typo

This commit is contained in:
MarioE 2013-10-05 18:22:05 -04:00
parent c12b592d60
commit 428ee68b86
2 changed files with 2 additions and 2 deletions

View file

@ -277,7 +277,7 @@ namespace TShockAPI
[Description("The number of seconds a player must wait before being respawned.")] public int RespawnSeconds = 3;
[Description("Disables a player if this number of tiles is painted within 1 second.")] public int TilePaintThreshold = 10;
[Description("Disables a player if this number of tiles is painted within 1 second.")] public int TilePaintThreshold = 15;
/// <summary>
/// Reads a configuration file from a given path

View file

@ -3255,7 +3255,7 @@ namespace TShockAPI
}
// Not selecting paint roller or paint scraper or the spectre versions? Hacking.
if (args.Player.SelectedItem.type != 1071 && args.Player.SelectedItem.type != 1100 &&
if (args.Player.SelectedItem.type != 1072 && args.Player.SelectedItem.type != 1100 &&
args.Player.SelectedItem.type != 1544 && args.Player.SelectedItem.type != 1545)
{
args.Player.SendData(PacketTypes.PaintWall, "", x, y, Main.tile[x, y].wallColor());