diff --git a/TShockAPI/ConfigFile.cs b/TShockAPI/ConfigFile.cs index d17f6ad9..1fc229a1 100644 --- a/TShockAPI/ConfigFile.cs +++ b/TShockAPI/ConfigFile.cs @@ -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; /// /// Reads a configuration file from a given path diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index dfea3738..39bb93c4 100755 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -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());