Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.ChairSit


          && ((L2StaticObjectInstance)target).getType() == 1
          && CastleManager.getInstance().getCastle(target) != null
          && activeChar.isInsideRadius(target, L2StaticObjectInstance.INTERACTION_DISTANCE, false, false)
      )
      {
        ChairSit cs = new ChairSit(activeChar,((L2StaticObjectInstance)target).getStaticObjectId());
        activeChar.sendPacket(cs);
        activeChar.sitDown();
        activeChar.broadcastPacket(cs);
        break;
      }
View Full Code Here


        && ((L2StaticObjectInstance)target).getType() == 1
        && CastleManager.getInstance().getCastle(target) != null
        && player.isInsideRadius(target, L2StaticObjectInstance.INTERACTION_DISTANCE, false, false)
    )
    {
      ChairSit cs = new ChairSit(player,((L2StaticObjectInstance)target).getStaticObjectId());
      player.sendPacket(cs);
      player.sitDown();
      player.broadcastPacket(cs);
    }
   
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.ChairSit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.