getActiveChar().sendPacket(new StaticObject((L2StaticObjectInstance) object));
}
else if (object instanceof L2NpcInstance)
{
if (Config.CHECK_KNOWN) getActiveChar().sendMessage("Added NPC: "+((L2NpcInstance) object).getName());
getActiveChar().sendPacket(new NpcInfo((L2NpcInstance) object, getActiveChar()));
}
else if (object instanceof L2Summon)
{
L2Summon summon = (L2Summon) object;
// Check if the L2PcInstance is the owner of the Pet
if (getActiveChar().equals(summon.getOwner()))
{
getActiveChar().sendPacket(new PetInfo(summon));
// The PetInfo packet wipes the PartySpelled (list of active spells' icons). Re-add them
summon.updateEffectIcons(true);
if (summon instanceof L2PetInstance)
{
getActiveChar().sendPacket(new PetItemList((L2PetInstance) summon));
}
}
else
getActiveChar().sendPacket(new NpcInfo(summon, getActiveChar()));
}
else if (object instanceof L2PcInstance)
{
L2PcInstance otherPlayer = (L2PcInstance) object;
if(otherPlayer.isInBoat())