Merge pull request #1367 from DogooFalchion/fix_fishing
Document and fix the fishing quest count glitch in SSC.
This commit is contained in:
commit
fa0d561a21
1 changed files with 9 additions and 0 deletions
|
|
@ -438,8 +438,17 @@ namespace TShockAPI
|
|||
{
|
||||
player.TPlayer.buffType[k] = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* The following packets are sent twice because the server will not send a packet to a client
|
||||
* if they have not spawned yet if the remoteclient is -1
|
||||
* This is for when players login via uuid or serverpassword instead of via
|
||||
* the login command.
|
||||
*/
|
||||
NetMessage.SendData(50, -1, -1, "", player.Index, 0f, 0f, 0f, 0);
|
||||
NetMessage.SendData(50, player.Index, -1, "", player.Index, 0f, 0f, 0f, 0);
|
||||
|
||||
NetMessage.SendData(76, player.Index, -1, "", player.Index);
|
||||
NetMessage.SendData(76, -1, -1, "", player.Index);
|
||||
|
||||
NetMessage.SendData(39, player.Index, -1, "", 400);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue