Package net.sf.l2j.gameserver.serverpackets

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


            if (object instanceof L2ItemInstance)
            {
                if (dropper != null)
                    getActiveChar().sendPacket(new DropItem((L2ItemInstance) object, dropper.getObjectId()));
                else
                    getActiveChar().sendPacket(new SpawnItem((L2ItemInstance) object));
            }
            else if (object instanceof L2DoorInstance)
            {
                getActiveChar().sendPacket(new DoorInfo((L2DoorInstance) object));
                getActiveChar().sendPacket(new DoorStatusUpdate((L2DoorInstance) object));
View Full Code Here


      if (object.getPoly().isMorphed() && object.getPoly().getPolyType().equals("item"))
        _activeChar.sendPacket(new SpawnItemPoly(object));
      else
      {
        if (object instanceof L2ItemInstance)
          _activeChar.sendPacket(new SpawnItem((L2ItemInstance) object));
        else if (object instanceof L2DoorInstance)
        {
          _activeChar.sendPacket(new DoorInfo((L2DoorInstance) object));
          _activeChar.sendPacket(new DoorStatusUpdate((L2DoorInstance) object));
        }
View Full Code Here

TOP

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

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.