Removed clamping as the game does it itself.
This commit is contained in:
parent
354b3d4d3b
commit
c6b04053a3
1 changed files with 0 additions and 4 deletions
|
|
@ -1343,10 +1343,6 @@ namespace TShockAPI
|
|||
{
|
||||
try
|
||||
{
|
||||
x = TShock.Utils.Clamp(x, Main.maxTilesX, 0);
|
||||
y = TShock.Utils.Clamp(y, Main.maxTilesY, 0);
|
||||
width = TShock.Utils.Clamp(x + width, Main.maxTilesX, 0) - x;
|
||||
length = TShock.Utils.Clamp(y + length, Main.maxTilesY, 0) - x;
|
||||
NetMessage.SendTileSquare(Index, x, y, width, length, changeType);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue