Resolve STS issue #1999

This commit is contained in:
Chris 2020-06-10 13:27:33 +09:30
parent 704b8430f1
commit b633f60567
2 changed files with 2 additions and 1 deletions

View file

@ -470,7 +470,7 @@ namespace TShockAPI.Handlers
return false;
}
if (x + width >= size || y + height + offsetY >= size)
if (x + width > size || y + height + offsetY > size)
{
// This is ugly, but we want to mark all these tiles as processed so that we're not hitting this check multiple times for one dodgy tile object
for (int i = x; i < size; i++)