Fixed SCA warnings
This commit is contained in:
parent
72d49d421c
commit
56eca71853
13 changed files with 299 additions and 236 deletions
|
|
@ -178,9 +178,11 @@ namespace TShockAPI
|
|||
};
|
||||
|
||||
|
||||
var ms = new MemoryStream();
|
||||
msg.PackFull(ms);
|
||||
SendRawData(ms.ToArray());
|
||||
using (var ms = new MemoryStream())
|
||||
{
|
||||
msg.PackFull(ms);
|
||||
SendRawData(ms.ToArray());
|
||||
}
|
||||
}
|
||||
|
||||
public bool Teleport(int tilex, int tiley)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue