Code:
[11:29:43 PM:175] Dismount for attacker.
[11:29:43 PM:175] Stop and dismount... Reason: Combat
Is there any way to modify/temporarily disable that Stop and dismount?
I'm trying to make plugin that would make druid stay in flight form for harvesting and this one is fucking up everything i try to do.
EDIT: fix found, replace all Thread.Sleeps() with:
Code:
public void WaitFor(int timeoutSeconds, bool conditionToMeet)
{
WaitTimer timeout = new WaitTimer(new TimeSpan(0,0,timeoutSeconds));
timeout.Reset();
while (!conditionToMeet && !timeout.IsFinished) ;
}
Last edited: