if (otherPlayer.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_SELL)
getActiveChar().sendPacket(new PrivateStoreMsgSell(otherPlayer));
else if (otherPlayer.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_BUY)
getActiveChar().sendPacket(new PrivateStoreMsgBuy(otherPlayer));
else if (otherPlayer.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_MANUFACTURE)
getActiveChar().sendPacket(new RecipeShopMsg(otherPlayer)); }
if (object instanceof L2Character)
{
// Update the state of the L2Character object client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the L2PcInstance
L2Character obj = (L2Character) object;