Package net.sf.l2j.gameserver.serverpackets

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


        if (!super.addKnownObject(object, dropper)) return false;

        if (object.getPoly().isMorphed() && object.getPoly().getPolyType().equals("item"))
        {
            //if (object.getPolytype().equals("item"))
                getActiveChar().sendPacket(new SpawnItemPoly(object));
            //else if (object.getPolytype().equals("npc"))
            //    sendPacket(new NpcInfoPoly(object, this));

        }
        else
View Full Code Here


    {
      if (object == null)
        continue;

      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)
View Full Code Here

TOP

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

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.