Update Modify Tile packet.

Only updating. Did not patch any possible exploits. Requesting someone to tend to this when possible.
This commit is contained in:
Patrikkk 2020-05-18 00:41:12 +02:00
parent 2d5166cfa4
commit 3b3fa9fc72
2 changed files with 14 additions and 8 deletions

View file

@ -183,6 +183,7 @@ namespace TShockAPI
/// <param name="args">The packet arguments that the event has.</param>
internal void OnTileEdit(object sender, GetDataHandlers.TileEditEventArgs args)
{
// TODO: Add checks on the new edit actions. ReplaceTile, ReplaceWall, TryKillTile, Acutate, PokeLogicGate, SlopePoundTile
EditAction action = args.Action;
int tileX = args.X;
int tileY = args.Y;