Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.inObserverMode()


          return false;
        }
      }
      else
      {
        if (player.inObserverMode())
          return false;
        if (player.getPet() != null)
        {
          activeChar.sendPacket(new SystemMessage(SystemMessageId.YOU_ALREADY_HAVE_A_PET));
          return false;
View Full Code Here


    }
     
    if (activeChar.isTeleporting())
      activeChar.onTeleported();

    if (!activeChar.inObserverMode())
      activeChar.broadcastUserInfo();
  }

  @Override
  public String getType()
View Full Code Here

      player.sendMessage("You can't Request a Trade when partner is Paralyzed");
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
    }
   
    if (partner.inObserverMode())
    {
      player.sendMessage("You can't Request a Trade when partner in Observation Mode");
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
    }
View Full Code Here

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.