Advertisement
Deedlit

Untitled

Jul 5th, 2011
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.67 KB | None | 0 0
  1. Index: java/com/l2jserver/gameserver/ai/L2SummonAI.java
  2. ===================================================================
  3. --- java/com/l2jserver/gameserver/ai/L2SummonAI.java    (revision 521)
  4. +++ java/com/l2jserver/gameserver/ai/L2SummonAI.java    (working copy)
  5. @@ -138,9 +142,10 @@
  6.     @Override
  7.     protected void onEvtThink()
  8.     {
  9. -       if (_thinking || _actor.isCastingNow() || _actor.isAllSkillsDisabled())
  10. +       if (!_actor.isRunning()) _actor.setRunning();      
  11. +       if (_thinking || _actor.isCastingNow())
  12.             return;
  13. -       _thinking = true;
  14. +       _thinking = true;      
  15.         try
  16.         {
  17.             switch (getIntention())
  18. @@ -168,7 +173,7 @@
  19.     @Override
  20.     protected void onEvtFinishCasting()
  21.     {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement