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

@ -14,6 +14,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
* Renamed stabProjectile to directionalProjectile for a more accurate naming.
* Adding staff projectiles to the directionalProjectiles Dictionary to include staffs in the valid projectile creation check.
* Adding GolfBallItemIDs list in Handlers.LandGolfBallInCupHandler.cs
* Fixed an issue in the SendTileSquare handler that was rejecting valid tile objects (@QuiCM)
## TShock 4.4.0 (Pre-release 11)
* New permission `tshock.tp.pylon` to enable teleporting via Teleportation Pylons (@QuiCM)

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++)