Package l2p.gameserver.clientpackets

Source Code of l2p.gameserver.clientpackets.RequestRecipeShopManageQuit

package l2p.gameserver.clientpackets;

import l2p.gameserver.model.L2Player;

public class RequestRecipeShopManageQuit extends L2GameClientPacket
{
  @Override
  public void readImpl()
  {
  }

  @Override
  public void runImpl()
  {
    L2Player activeChar = getClient().getActiveChar();
    if(activeChar == null)
    {
      return;
    }
    if(activeChar.getDuel() != null)
    {
      activeChar.sendActionFailed();
      return;
    }
    activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_NONE);
    activeChar.broadcastUserInfo(true);
    activeChar.standUp();
  }
}
TOP

Related Classes of l2p.gameserver.clientpackets.RequestRecipeShopManageQuit

TOP
Copyright © 2018 www.massapi.com. 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.