fix(Bouncer/SendTileRectHandler): MatchRemoval incorrect check range
This commit is contained in:
parent
e4e28cb1b5
commit
1e23785a04
1 changed files with 3 additions and 3 deletions
|
|
@ -327,7 +327,7 @@ namespace TShockAPI.Handlers
|
||||||
|
|
||||||
private bool MatchRemoval(TSPlayer player, TileRect rect)
|
private bool MatchRemoval(TSPlayer player, TileRect rect)
|
||||||
{
|
{
|
||||||
for (int x = rect.X; x < rect.Y + rect.Width; x++)
|
for (int x = rect.X; x < rect.X + rect.Width; x++)
|
||||||
{
|
{
|
||||||
for (int y = rect.Y; y < rect.Y + rect.Height; y++)
|
for (int y = rect.Y; y < rect.Y + rect.Height; y++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue