Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2World.removeObject()


    activeChar.sendPacket(su);

    activeChar.broadcastUserInfo();

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

    activeChar.setInCrystallize(false);
  }

  /*
 
View Full Code Here


      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

                activeChar.sendPacket(su);
           
                activeChar.broadcastUserInfo();
           
                L2World world = L2World.getInstance();
                world.removeObject(destroyItem);
            }
            else
            {
                item.setEnchantLevel(0);
                item.updateDatabase();
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);
  }

  /* (non-Javadoc)
   * @see net.sf.l2j.gameserver.clientpackets.ClientBasePacket#getType()
   */
 
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.