Revert accidental removal of OnPaintTile check
This commit is contained in:
parent
62d35533a0
commit
d1505127dd
1 changed files with 4 additions and 0 deletions
|
|
@ -3600,6 +3600,10 @@ namespace TShockAPI
|
|||
TShock.Log.ConsoleDebug("GetDataHandlers / HandlePaintTile rejected range check {0}", args.Player.Name);
|
||||
return true;
|
||||
}
|
||||
if (OnPaintTile(args.Player, args.Data, x, y, t))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Not selecting paintbrush or paint scraper or the spectre versions? Hacking.
|
||||
if (args.Player.SelectedItem.type != ItemID.PaintRoller &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue