Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2World


    su.addAttribute(StatusUpdate.CUR_LOAD, activeChar.getCurrentLoad());
    activeChar.sendPacket(su);

    activeChar.broadcastUserInfo();

    L2World world = L2World.getInstance();
    world.removeObject(removedItem);

    activeChar.setInCrystallize(false);
  }
View Full Code Here


      su.addAttribute(StatusUpdate.CUR_LOAD, owner.getCurrentLoad());
      owner.sendPacket(su);

      owner.broadcastUserInfo();

      L2World world = L2World.getInstance();
      world.removeObject(removedItem);
    }
    catch (Exception e){
      _logPet.warning("Error while destroying control item: " + e);
    }
View Full Code Here

                su.addAttribute(StatusUpdate.CUR_LOAD, activeChar.getCurrentLoad());
                activeChar.sendPacket(su);
           
                activeChar.broadcastUserInfo();
           
                L2World world = L2World.getInstance();
                world.removeObject(destroyItem);
            }
            else
            {
                item.setEnchantLevel(0);
                item.updateDatabase();
View Full Code Here

  }

  @Override
  protected void runImpl()
  {
    L2World world = L2World.getInstance();
    L2ItemInstance item = (L2ItemInstance)world.findObject(_objectId);
    if (item == null || getClient().getActiveChar() == null)
        return;
    if(getClient().getActiveChar().getPet() instanceof L2SummonInstance)
    {
      sendPacket(new ActionFailed());
View Full Code Here

    StatusUpdate su = new StatusUpdate(activeChar.getObjectId());
    su.addAttribute(StatusUpdate.CUR_LOAD, activeChar.getCurrentLoad());
    activeChar.sendPacket(su);

    L2World world = L2World.getInstance();
    world.removeObject(removedItem);
  }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.model.L2World

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.