mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Fix #1393
This commit is contained in:
parent
e06438b582
commit
479f80ccf1
1 changed files with 11 additions and 1 deletions
|
|
@ -102,7 +102,17 @@ namespace MinecraftClient.ChatBots
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public override bool OnDisconnect(DisconnectReason reason, string message)
|
||||
{
|
||||
fishingRod = null;
|
||||
LastPos = new Location();
|
||||
CaughtTime = DateTime.Now;
|
||||
isFishing = false;
|
||||
useItemCounter = 0;
|
||||
return base.OnDisconnect(reason, message);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when detected a fish is caught
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue