Guest User

Away Bug - Fix

a guest
Aug 8th, 2012
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.91 KB | None | 0 0
  1. ### Eclipse Workspace Patch 1.0
  2. #P L2jFrozen_GS
  3. Index: head-src/com/l2jfrozen/gameserver/handler/usercommandhandlers/Escape.java
  4. ===================================================================
  5. --- head-src/com/l2jfrozen/gameserver/handler/usercommandhandlers/Escape.java   (revision 948)
  6. +++ head-src/com/l2jfrozen/gameserver/handler/usercommandhandlers/Escape.java   (working copy)
  7. @@ -125,7 +125,17 @@
  8.             activeChar.sendMessage("You may not escape when you sitting.");
  9.             return false;
  10.         }
  11. +  
  12. +       /**
  13. +        * @author Crystalia
  14. +        */
  15.        
  16. +       if(activeChar.isAway())
  17. +       {
  18. +           activeChar.sendMessage("You may not use unstuck when you are in away mode.");
  19. +           return false;
  20. +       }
  21. +      
  22.         // Check player status.
  23.         if(activeChar.isCastingNow() || activeChar.isMovementDisabled() || activeChar.isMuted() || activeChar.isAlikeDead() || activeChar.isInOlympiadMode() || activeChar.isAwaying())
  24.             return false;
Advertisement
Add Comment
Please, Sign In to add comment