In pCampbot PhysicsBehaviour.Close(), only cancel jumping if bot is connected
parent
514c58bc96
commit
6f1ff47fee
|
@ -80,7 +80,8 @@ namespace pCampBot
|
||||||
|
|
||||||
public override void Close()
|
public override void Close()
|
||||||
{
|
{
|
||||||
Bot.Client.Self.Jump(false);
|
if (Bot.ConnectionState == ConnectionState.Connected)
|
||||||
|
Bot.Client.Self.Jump(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private string[] readexcuses()
|
private string[] readexcuses()
|
||||||
|
|
Loading…
Reference in New Issue