Fix SendTileRectHandler not sending tile rect updates to everyone else

Fixes #2386
This commit is contained in:
Stealownz 2021-07-04 17:15:13 +08:00
parent c5421460ae
commit a26ad7dce0
2 changed files with 2 additions and 1 deletions

View file

@ -85,7 +85,7 @@ namespace TShockAPI.Handlers
// At this point we should send our state back to the client so they remain in sync with the server
if (args.Handled == true)
{
args.Player.SendTileRect(args.TileX, args.TileY, args.Width, args.Length);
TSPlayer.All.SendTileRect(args.TileX, args.TileY, args.Width, args.Length);
TShock.Log.ConsoleDebug("Bouncer / SendTileRect reimplemented from carbonara from {0}", args.Player.Name);
}
}