Random Improvements and Fixes
This commit is contained in:
parent
0ac0dd02f8
commit
82fb69f9d4
5 changed files with 31 additions and 28 deletions
|
|
@ -262,7 +262,8 @@ namespace TShockAPI
|
|||
{
|
||||
try
|
||||
{
|
||||
SendData(PacketTypes.TileSendSquare, "", size, (x - (size / 2)), (y - (size / 2)));
|
||||
int num = (size - 1) / 2;
|
||||
SendData(PacketTypes.TileSendSquare, "", size, (float)(x - num), (float)(y - num));
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue